浏览代码

HUE-6077 [frontend] Improve left margin on the editor snippet

Enrico Berti 8 年之前
父节点
当前提交
e9e6e72

文件差异内容过多而无法显示
+ 0 - 0
desktop/libs/notebook/src/notebook/static/notebook/css/notebook.css


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

@@ -54,6 +54,8 @@
 
   .snippet {
     padding-bottom: 10px;
+    margin-left: 10px;
+    margin-right: 10px;
   }
 
   .notebook-snippet {

+ 0 - 6
desktop/libs/notebook/src/notebook/templates/editor.mako

@@ -32,12 +32,6 @@ ${ commonheader(_('Editor'), editor_type, user, request, "68px") | n,unicode }
 <span id="editorComponents" class="editorComponents notebook">
 ${ editorComponents.includes(is_embeddable) }
 
-<style type="text/css">
-  .snippet {
-    margin-right: 10px;
-  }
-</style>
-
 ${ editorComponents.topBar() }
 ${ editorComponents.commonHTML(is_embeddable) }
 

部分文件因为文件数量过多而无法显示