Blurred menu will be opt-in

This commit is contained in:
Lim Chee Aun 2024-03-04 21:13:57 +08:00
parent 427207ae5a
commit d348c458b3
2 changed files with 2 additions and 1 deletions

View file

@ -1756,7 +1756,7 @@ body > .szh-menu-container {
max-width: 90vw; max-width: 90vw;
/* overflow: hidden; */ /* overflow: hidden; */
} }
.szh-menu[aria-label='Submenu'] { .szh-menu[aria-label='Submenu'].menu-blur {
background-color: var(--bg-blur-color); background-color: var(--bg-blur-color);
backdrop-filter: blur(4px); backdrop-filter: blur(4px);
box-shadow: 0 3px 24px -3px var(--drop-shadow-color); box-shadow: 0 3px 24px -3px var(--drop-shadow-color);

View file

@ -1124,6 +1124,7 @@ function RelatedActions({
</MenuItem> </MenuItem>
) : ( ) : (
<SubMenu <SubMenu
menuClassName="menu-blur"
openTrigger="clickOnly" openTrigger="clickOnly"
direction="bottom" direction="bottom"
overflow="auto" overflow="auto"