visuddhinanda 2 лет назад
Родитель
Сommit
65751b0c83
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      dashboard/src/pages/library/article/show.tsx

+ 2 - 2
dashboard/src/pages/library/article/show.tsx

@@ -1,4 +1,4 @@
-import { Affix, Button, Divider, Space, Tooltip } from "antd";
+import { Affix, Button, Space, Tooltip } from "antd";
 import { Header } from "antd/lib/layout/layout";
 import { Key } from "antd/lib/table/interface";
 import { useEffect, useState } from "react";
@@ -150,7 +150,7 @@ const Widget = () => {
           className="header"
           style={{
             height: 44,
-            lineHeight: 44,
+            lineHeight: "44px",
             paddingLeft: 10,
             paddingRight: 10,
           }}