mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
switch fixe
This commit is contained in:
@@ -373,8 +373,12 @@ export const themeBase = {
|
||||
|
||||
transition: "transform .2s, width .2s",
|
||||
|
||||
".MuiSwitch-root:active &": { width: 24 },
|
||||
".MuiSwitch-root.MuiSwitch-sizeSmall:active &": { width: 20 },
|
||||
".MuiSwitch-root:active .MuiSwitch-switchBase:not(.Mui-disabled) &": {
|
||||
width: 24,
|
||||
},
|
||||
".MuiSwitch-root.MuiSwitch-sizeSmall:active .MuiSwitch-switchBase:not(.Mui-disabled) &": {
|
||||
width: 20,
|
||||
},
|
||||
"& + .MuiTouchRipple-root": {
|
||||
borderRadius: 24 / 2,
|
||||
zIndex: -1,
|
||||
|
||||
@@ -16,7 +16,7 @@ const useStyles = makeStyles((theme) =>
|
||||
width: "100%",
|
||||
display: "flex",
|
||||
|
||||
padding: theme.spacing(0, 0.5, 0, 1.5),
|
||||
padding: theme.spacing(0, 0.25, 0, 1.5),
|
||||
},
|
||||
|
||||
label: {
|
||||
|
||||
Reference in New Issue
Block a user