ソースを参照

Make min-height and min-width more uniformly applied for main area
widgets.

Ian Rose 7 年 前
コミット
50b7d7ec06

+ 2 - 0
packages/console/style/index.css

@@ -14,6 +14,8 @@
   flex: 1 1 auto;
   flex-direction: column;
   margin-top: -1px;
+  min-width: 240px;
+  min-height: 120px;
 }
 
 

+ 3 - 1
packages/faq-extension/style/index.css

@@ -9,6 +9,8 @@
   outline: none;
   display: flex;
   flex-direction: column;
+  min-width: 240px;
+  min-height: 120px;
 }
 
 
@@ -39,4 +41,4 @@
 
 .jp-FAQ-content a {
   color: var(--jp-brand-color1);
-}
+}

+ 2 - 1
packages/help-extension/style/index.css

@@ -5,7 +5,8 @@
 
 
 .jp-Help {
-  min-width: 480px;
+  min-width: 240px;
+  min-height: 240px;
   background: white;
   outline: none;
 }

+ 2 - 0
packages/inspector/style/index.css

@@ -19,6 +19,8 @@
 
 .jp-Inspector {
   outline: none;
+  min-width: 120px;
+  min-height: 120px;
 }
 
 

+ 2 - 0
packages/launcher/style/index.css

@@ -26,6 +26,8 @@
   outline: none;
   background: var(--jp-layout-color0);
   box-sizing: border-box;
+  min-width: 120px;
+  min-height: 120px;
 }
 
 

+ 2 - 2
packages/notebook/style/index.css

@@ -32,14 +32,14 @@
   display: flex;
   flex-direction: column;
   height: 100%;
+  min-width: 240px !important;
+  min-height: 120px !important;
 }
 
 
 .jp-Notebook {
   flex: 1 1 auto;
   padding: var(--jp-notebook-padding);
-  min-width: 50px;
-  min-height: 50px;
   outline: none;
   overflow: auto;
   background: var(--jp-layout-color0);

+ 4 - 2
packages/settingeditor-extension/style/settingeditor.css

@@ -15,6 +15,8 @@
 
 
 #setting-editor {
+  min-width: 360px;
+  min-height: 240px;
   background-color: var(--jp-layout-color0);
   border-top: var(--jp-border-width) solid var(--jp-border-color1);
   margin-top: -1px;
@@ -76,8 +78,8 @@
 
 
 #setting-editor .jp-PluginList {
-  min-width: 150px;
-  width: 150px;
+  min-width: 120px;
+  width: 120px;
 }
 
 

+ 3 - 3
packages/terminal/style/index.css

@@ -12,8 +12,8 @@
 
 
 .jp-Terminal {
-  min-width: 200px;
-  min-height: 200px;
+  min-width: 240px;
+  min-height: 120px;
   padding: 8px;
   margin: 0;
 }
@@ -97,4 +97,4 @@
 
 .jp-Terminal-light .terminal .xterm-viewport {
     background-color: white;
-}
+}