Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit ad6867b

Browse files
committed
chore: improve disaabled button style
1 parent 17a3e5e commit ad6867b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/components/DotDotDotV2/DotDotDot.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ export default function DotDotDot({ label, items }: Props) {
6262
size="large"
6363
sx={{
6464
justifyContent: "flex-start",
65+
opacity: item.disabled ? 0.25 : 1,
66+
backgroundColor: "transparent !important",
6567
}}
6668
startIcon={
6769
typeof item.icon === "string" ? (

src/pages/mui-theme.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export default (mode: "dark" | "light") => {
8686
},
8787
"&.Mui-disabled": {
8888
color: primaryColor,
89-
opacity: "0.25",
89+
backgroundColor: isDark ? grey[800] : grey[400],
9090
},
9191
},
9292
},

0 commit comments

Comments
 (0)