浏览代码

moved to using border for flexbox

Heydon Pickering 8 年之前
父节点
当前提交
5cfde5966c
共有 3 个文件被更改,包括 8 次插入10 次删除
  1. 4 5
      docs/css/styles.css
  2. 0 0
      docs/service-worker.js
  3. 4 5
      themes/infusion/static/css/styles.css

+ 4 - 5
docs/css/styles.css

@@ -196,18 +196,17 @@ th:empty {
 
 .tested {
     text-align: center;
+    border: 1px solid #111;
 }
 .tested tr {
-  display: flex;
-  flex-flow: row wrap;
+    display: flex;
+    flex-flow: row wrap;
 }
 .tested td, .tested th {
     vertical-align: middle;
     overflow: hidden;
     flex: 1 0 auto;
-    border: 0;
-    outline: 2px solid;
-    outline-offset: -1px;
+    border: 1px solid #111;
 }
 .tested th {
     width: 100%;

文件差异内容过多而无法显示
+ 0 - 0
docs/service-worker.js


+ 4 - 5
themes/infusion/static/css/styles.css

@@ -196,18 +196,17 @@ th:empty {
 
 .tested {
     text-align: center;
+    border: 1px solid #111;
 }
 .tested tr {
-  display: flex;
-  flex-flow: row wrap;
+    display: flex;
+    flex-flow: row wrap;
 }
 .tested td, .tested th {
     vertical-align: middle;
     overflow: hidden;
     flex: 1 0 auto;
-    border: 0;
-    outline: 2px solid;
-    outline-offset: -1px;
+    border: 1px solid #111;
 }
 .tested th {
     width: 100%;

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