Browse Source

HUE-5252 [editor] The snippet settings layout should align vertically

Enrico Berti 9 năm trước cách đây
mục cha
commit
9c3e942e4c

+ 1 - 1
desktop/core/src/desktop/templates/config_ko_components.mako

@@ -27,7 +27,7 @@ from desktop.views import _ko
 
   <style>
     .config-property {
-      display: inline-block;
+      display: block;
       vertical-align: top;
       margin-bottom: 20px;
       position: relative;

+ 2 - 0
desktop/libs/notebook/src/notebook/static/notebook/css/notebook.css

@@ -178,6 +178,8 @@ body {
   border-left: 1px solid #e5e5e5;
   border-right: 1px solid #e5e5e5;
   border-bottom: 1px solid #e5e5e5;
+  -webkit-box-shadow: 0 2px 8px rgba(0,0,0,.18);
+  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.18), 0 2px 8px 0 rgba(0, 0, 0, 0.13);
 }
 
 .snippet-settings-header > h4 {