浏览代码

Tweak base table styles

Thibaut 10 年之前
父节点
当前提交
6f1ff802f9
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      assets/stylesheets/global/_base.scss

+ 4 - 0
assets/stylesheets/global/_base.scss

@@ -149,6 +149,10 @@ td {
   + td { border-left: 1px solid $boxBorderLight; }
   tr:last-child > & { border-bottom: 0; }
 
+  > pre:only-child, > p:only-child, > ul:only-child, > ol:only-child {
+    margin-top: 0;
+    margin-bottom: 0;
+  }
   > pre:last-child, > p:last-child, > ul:last-child, > ol:last-child { margin-bottom: 0; }
 }