浏览代码

Editor: Limit the min-width style for `.Panels` and `.Tabs` (#22600)

linbingquan 3 年之前
父节点
当前提交
9084c5f2fb
共有 1 个文件被更改,包括 12 次插入10 次删除
  1. 12 10
      editor/css/main.css

+ 12 - 10
editor/css/main.css

@@ -74,19 +74,21 @@ textarea, input { outline: none; } /* osx */
 	position: relative;
 	position: relative;
 	display: block;
 	display: block;
 	width: 100%;
 	width: 100%;
+	min-width: 300px;
 }
 }
 
 
-.TabbedPanel .Tabs .Tab {
-	padding: 10px;
-	text-transform: uppercase;
-}
+	.TabbedPanel .Tabs .Tab {
+		padding: 10px;
+		text-transform: uppercase;
+	}
 
 
-.TabbedPanel .Tabs .Panels {
-	position: relative;
-	display: block;
-	width: 100%;
-	height: 100%;
-}
+	.TabbedPanel .Panels {
+		position: relative;
+		display: block;
+		width: 100%;
+		height: 100%;
+		min-width: 300px;
+	}
 
 
 /* Listbox */
 /* Listbox */
 .Listbox {
 .Listbox {