From a5b84406bebfc87e9a067b25e1384c084515d89b Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 29 Nov 2025 17:35:37 +0200 Subject: [PATCH] style(context_menu): improve submenu bg on mobile --- apps/client/src/stylesheets/theme-next-dark.css | 1 + apps/client/src/stylesheets/theme-next/base.css | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/client/src/stylesheets/theme-next-dark.css b/apps/client/src/stylesheets/theme-next-dark.css index 117eeb8b7..8da51004e 100644 --- a/apps/client/src/stylesheets/theme-next-dark.css +++ b/apps/client/src/stylesheets/theme-next-dark.css @@ -98,6 +98,7 @@ --menu-item-delimiter-color: #ffffff1c; --menu-item-group-header-color: #ffffff91; --menu-section-background-color: #fefefe08; + --menu-submenu-mobile-background-color: rgba(0, 0, 0, 0.15); --modal-backdrop-color: #000; --modal-shadow-color: rgba(0, 0, 0, .5); diff --git a/apps/client/src/stylesheets/theme-next/base.css b/apps/client/src/stylesheets/theme-next/base.css index f9f88c395..9587b7222 100644 --- a/apps/client/src/stylesheets/theme-next/base.css +++ b/apps/client/src/stylesheets/theme-next/base.css @@ -62,6 +62,7 @@ --menu-padding-size: 8px; --menu-item-icon-vert-offset: -2px; + --menu-submenu-mobile-background-color: rgba(255, 255, 255, 0.15); --more-accented-background-color: var(--card-background-hover-color); @@ -376,7 +377,7 @@ body.mobile .dropdown-menu { } .dropdown-menu { - --menu-background-color: rgba(0, 0, 0, 0.15); + --menu-background-color: --menu-submenu-mobile-background-color; border-radius: 0; max-height: 0; transition: max-height 100ms ease-in;