瀏覽代碼

HUE-6077 [frontend] Fix styling of search container in assist and top bar

Johan Ahlen 8 年之前
父節點
當前提交
9b25bed

文件差異過大導致無法顯示
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue.css


+ 5 - 3
desktop/core/src/desktop/static/desktop/less/hue.less

@@ -223,21 +223,23 @@ body {
 
 
 .search-container {
 .search-container {
   .display-flex;
   .display-flex;
-  .flex(1 1 29px);
+  .flex(1 1 37px);
   position: relative;
   position: relative;
+  margin: 8px 10px 0 10px;
 }
 }
 
 
 .search-container > input {
 .search-container > input {
   .flex(1 1 100%);
   .flex(1 1 100%);
-  border-bottom-left-radius: 4px;
-  border-top-left-radius: 4px;
+  border-radius: 4px 0 0 4px;
   border: 1px solid @cui-gray-300;
   border: 1px solid @cui-gray-300;
   border-right: none;
   border-right: none;
   box-shadow: none;
   box-shadow: none;
+  margin-bottom: 0;
 }
 }
 
 
 .search-container > a {
 .search-container > a {
   .flex(0 0 31px);
   .flex(0 0 31px);
+  margin-bottom: 0;
   cursor: pointer;
   cursor: pointer;
   border-bottom-right-radius: 4px;
   border-bottom-right-radius: 4px;
   border-top-right-radius: 4px;
   border-top-right-radius: 4px;

部分文件因文件數量過多而無法顯示