Browse Source

:bug: calc 内部运算符两侧加空格

visuddhinanda 3 years ago
parent
commit
32731ca075
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dashboard/src/components/article/ArticleCard.tsx

+ 1 - 1
dashboard/src/components/article/ArticleCard.tsx

@@ -134,7 +134,7 @@ const Widget = ({
           {contextMenu}
         </Space>
       }
-      bodyStyle={{ height: `calc(100vh-50px)`, overflowY: "scroll" }}
+      bodyStyle={{ height: `calc(100vh - 94px)`, overflowY: "scroll" }}
     >
       {children}
     </Card>