Sfoglia il codice sorgente

底色透明度0.1

visuddhinanda 2 anni fa
parent
commit
bfff9748ee
1 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. 4 2
      dashboard/src/components/template/SentEdit/SentTab.tsx

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

@@ -108,11 +108,13 @@ const SentTabWidget = ({
               width: "100%",
               width: "100%",
               marginRight: 10,
               marginRight: 10,
               backgroundColor:
               backgroundColor:
-                hover || currKey !== "close" ? "#80808030" : "unset",
+                hover || currKey !== "close"
+                  ? "rgba(128, 128, 128, 0.1)"
+                  : "unset",
             }
             }
           : {
           : {
               padding: "0 8px",
               padding: "0 8px",
-              backgroundColor: "#80808030",
+              backgroundColor: "rgba(128, 128, 128, 0.1)",
             }
             }
       }
       }
       tabBarStyle={{ marginBottom: 0 }}
       tabBarStyle={{ marginBottom: 0 }}