mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +00:00
Menu
This commit is contained in:
parent
ab9e1f4a3d
commit
0842edc82d
@ -169,7 +169,10 @@ declare module "@mui/material/styles" {
|
||||
* {@link Paper} to embed its contents).
|
||||
*/
|
||||
paper: string;
|
||||
/** Currently unused. */
|
||||
/**
|
||||
* Drop shadow for the MUI {@link Menu} and other small floating
|
||||
* elements like the {@link Notification} {@link Snackbar}.
|
||||
*/
|
||||
menu: string;
|
||||
/** Currently unused. */
|
||||
button: string;
|
||||
|
@ -774,12 +774,23 @@ const components: Components = {
|
||||
},
|
||||
},
|
||||
|
||||
MuiMenu: {
|
||||
styleOverrides: {
|
||||
root: {
|
||||
".MuiMenu-paper": {
|
||||
boxShadow: "var(--mui-palette-boxShadow-menu)",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
MuiSnackbar: {
|
||||
styleOverrides: {
|
||||
root: {
|
||||
// Set a default border radius for all snackbar's (e.g.
|
||||
// notification popups).
|
||||
borderRadius: "8px",
|
||||
boxShadow: "var(--mui-palette-boxShadow-menu)",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user