mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-17 21:00:45 +00:00
Truncate long username rather than give horizontal scroll
This commit is contained in:
@ -65,6 +65,7 @@ function collapseItem(theme: Theme, ownerState: any)
|
|||||||
cursor: "pointer",
|
cursor: "pointer",
|
||||||
userSelect: "none",
|
userSelect: "none",
|
||||||
whiteSpace: "nowrap",
|
whiteSpace: "nowrap",
|
||||||
|
overflow: "hidden",
|
||||||
boxShadow: active && !whiteSidenav && !darkMode && !transparentSidenav ? md : "none",
|
boxShadow: active && !whiteSidenav && !darkMode && !transparentSidenav ? md : "none",
|
||||||
[breakpoints.up("xl")]: {
|
[breakpoints.up("xl")]: {
|
||||||
transition: transitions.create(["box-shadow", "background-color"], {
|
transition: transitions.create(["box-shadow", "background-color"], {
|
||||||
|
Reference in New Issue
Block a user