mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-25 10:45:41 +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;
|
||||
/* overflow: hidden; */
|
||||
}
|
||||
.szh-menu[aria-label='Submenu'] {
|
||||
.szh-menu[aria-label='Submenu'].menu-blur {
|
||||
background-color: var(--bg-blur-color);
|
||||
backdrop-filter: blur(4px);
|
||||
box-shadow: 0 3px 24px -3px var(--drop-shadow-color);
|
||||
|
|
|
@ -1124,6 +1124,7 @@ function RelatedActions({
|
|||
</MenuItem>
|
||||
) : (
|
||||
<SubMenu
|
||||
menuClassName="menu-blur"
|
||||
openTrigger="clickOnly"
|
||||
direction="bottom"
|
||||
overflow="auto"
|
||||
|
|
Loading…
Reference in a new issue