mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
fix menus appearing darker when appearing inside a dialog
This commit is contained in:
@@ -566,6 +566,13 @@ export const components = (theme: Theme): ThemeOptions => {
|
||||
|
||||
MuiMenu: {
|
||||
styleOverrides: {
|
||||
root: {
|
||||
".MuiDialog-root + & .MuiMenu-paper, form:has(.MuiDialog-root) + & .MuiMenu-paper, .MuiDialog-root & .MuiMenu-paper":
|
||||
{
|
||||
backgroundImage:
|
||||
"linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2))", // elevation 50
|
||||
},
|
||||
},
|
||||
list: { padding: theme.spacing(0.5, 0) },
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user