浏览代码

Fix minor height issue

jerryliao 1 年之前
父节点
当前提交
a48d12d62d
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      static/global.css

+ 3 - 3
static/global.css

@@ -134,8 +134,8 @@ button {
 }
 
 .pd-top-bar .pd-top-bar-tool-icons {
-  height: 28px;
-  line-height: 26px;
+  height: 30px;
+  line-height: 28px;
   box-sizing: border-box;
   padding: 0 8px;
   border: 1px solid #ced4da;
@@ -171,7 +171,7 @@ button {
 .pd-editor .pd-edit-view,
 .pd-editor .pd-read-view {
   height: calc(
-    100vh - 0.75rem * 3 - 28px
+    100vh - 0.75rem * 3 - 30px
   ); /* Exact height to prevent flex height expansion */
   border: 1px solid #ced4da;
   border-radius: 0.375rem;