瀏覽代碼

Update RCSS rules to avoid reformatting table each layout step

Michael Ragazzon 1 年之前
父節點
當前提交
ef2117b3f8
共有 1 個文件被更改,包括 7 次插入2 次删除
  1. 7 2
      Samples/basic/player_list/data/player_list.css

+ 7 - 2
Samples/basic/player_list/data/player_list.css

@@ -86,6 +86,11 @@ input[type="text"] {
     flex-direction: column;
 }
 
+#contents > * {
+    flex: 1;
+    width: 100%;
+}
+
 #contents__footer {
     align-self: flex-end;
 }
@@ -98,8 +103,8 @@ input[type="text"] {
 
 #players {
     margin-top: 15dp;
-    flex: auto;
-    overflow: auto;
+    flex: 10;
+    overflow: scroll;
 }
 
 table {