mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-29 04:38:55 +03:00
Blurred menu will be opt-in
This commit is contained in:
parent
427207ae5a
commit
d348c458b3
2 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue