瀏覽代碼

Minor fixes to css.

Brian E. Granger 8 年之前
父節點
當前提交
b4b7ae5f65
共有 2 個文件被更改,包括 10 次插入5 次删除
  1. 8 3
      src/filebrowser/index.less
  2. 2 2
      src/landing/index.less

+ 8 - 3
src/filebrowser/index.less

@@ -2,18 +2,20 @@
 | Copyright (c) Jupyter Development Team.
 | Distributed under the terms of the Modified BSD License.
 |----------------------------------------------------------------------------*/
+
+
 .jp-FileBrowser {
   display: flex;
   flex-direction: column;
   color: var(--jp-ui-font-color);
   background: #FAFAFA;
-  font-size: 13px;
+  font-size: var(--jp-ui-fontSize);
 }
 
 
 .jp-BreadCrumbs {
-  margin: 4px 12px;
   flex: 0 0 auto;
+  margin: 4px 12px;
 }
 
 
@@ -34,6 +36,9 @@
 
 
 .jp-FileButtons {
+  flex: 0 0 auto;
+  display: flex;
+  flex-direction: row;  
   border-bottom: var(--jp-border-width) solid var(--jp-secondary-border-color);
 }
 
@@ -52,7 +57,7 @@
   color: var(--jp-ui-font-color);
   background: #FAFAFA;
   border: none;
-  font-size: 14px;
+  font-size: var(--jp-ui-icon-fontSize);
   outline: 0;
   padding-top: 8px;
   padding-bottom: 8px;

+ 2 - 2
src/landing/index.less

@@ -107,14 +107,14 @@
     width: 100%;
     cursor: pointer;
     padding-bottom: 14px;
-    border-bottom: 2px solid var(--jp-primary-border-color);
+    border-bottom: var(--jp-border-width) solid var(--jp-primary-border-color);
     background-position: top center;
     background-repeat: no-repeat;
 }
 
 .jp-Landing-folder {
   margin-right: 0;
-  float:left;
+  float: left;
   display: inline-block;
   background-origin: content-box;
   background-repeat: no-repeat;