Переглянути джерело

Merge pull request #1375 from visuddhinanda/agile

工具栏加背景色
visuddhinanda 2 роки тому
батько
коміт
2f91f1cd83

+ 6 - 2
dashboard/src/components/template/SentEdit.tsx

@@ -126,8 +126,12 @@ export const SentEditInner = ({
 
   return (
     <Card
-      bodyStyle={{ paddingBottom: 0 }}
-      style={{ border: "solid 2px #dfdfdf", marginTop: 4, borderRadius: 5 }}
+      bodyStyle={{ paddingBottom: 0, paddingLeft: 0, paddingRight: 0 }}
+      style={{
+        border: "solid 2px #dfdfdf",
+        marginTop: 4,
+        borderRadius: 5,
+      }}
       size="small"
     >
       <SentContent

+ 6 - 2
dashboard/src/components/template/SentEdit/SentTab.tsx

@@ -99,9 +99,13 @@ const SentTabWidget = ({
               marginTop: -32,
               width: "100%",
               marginRight: 10,
-              backgroundColor: hover || currKey !== "close" ? "white" : "unset",
+              backgroundColor:
+                hover || currKey !== "close" ? "#80808030" : "unset",
+            }
+          : {
+              padding: "0 8px",
+              backgroundColor: "#80808030",
             }
-          : undefined
       }
       tabBarStyle={{ marginBottom: 0 }}
       size="small"