mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-17 21:00:45 +00:00
Improve previous change here (overflow:hidden) to also do whiteSpace:wrap and fix lineHeight
This commit is contained in:
@ -64,7 +64,7 @@ function collapseItem(theme: Theme, ownerState: any)
|
||||
borderRadius: borderRadius.md,
|
||||
cursor: "pointer",
|
||||
userSelect: "none",
|
||||
whiteSpace: "nowrap",
|
||||
whiteSpace: "wrap",
|
||||
overflow: "hidden",
|
||||
boxShadow: active && !whiteSidenav && !darkMode && !transparentSidenav ? md : "none",
|
||||
[breakpoints.up("xl")]: {
|
||||
@ -74,6 +74,10 @@ function collapseItem(theme: Theme, ownerState: any)
|
||||
}),
|
||||
},
|
||||
|
||||
"& .MuiListItemText-primary": {
|
||||
lineHeight: "revert"
|
||||
},
|
||||
|
||||
"&:hover, &:focus": {
|
||||
backgroundColor:
|
||||
transparentSidenav && !darkMode
|
||||
|
Reference in New Issue
Block a user