From 781215394ec2467cefe37bc29ac06e82030c2607 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Fri, 28 Nov 2025 21:24:51 +0200 Subject: [PATCH] refactor(mobile/context_menu): unify styles --- apps/client/src/stylesheets/theme-next/base.css | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/apps/client/src/stylesheets/theme-next/base.css b/apps/client/src/stylesheets/theme-next/base.css index 813643401..7370d276b 100644 --- a/apps/client/src/stylesheets/theme-next/base.css +++ b/apps/client/src/stylesheets/theme-next/base.css @@ -119,17 +119,6 @@ body.backdrop-effects-disabled { font-size: 0.9rem !important; } -body.mobile .dropdown-menu { - backdrop-filter: var(--dropdown-backdrop-filter); - border-radius: var(--dropdown-border-radius); - position: relative; -} - -body.mobile .dropdown-menu .dropdown-menu { - backdrop-filter: unset !important; - border-radius: unset !important; -} - body.desktop .dropdown-menu::before, :root .ck.ck-dropdown__panel::before, :root .excalidraw .popover::before, @@ -326,6 +315,9 @@ body.mobile .dropdown-menu { --dropdown-menu-padding-horizontal: 1em; --hover-item-background-color: var(--card-background-color); font-size: 1em !important; + backdrop-filter: var(--dropdown-backdrop-filter); + border-radius: var(--dropdown-border-radius); + position: relative; .dropdown-toggle::after { top: 0.5em; @@ -369,6 +361,7 @@ body.mobile .dropdown-menu { .dropdown-submenu { padding: 0 !important; + backdrop-filter: unset !important; .dropdown-toggle { padding: var(--dropdown-menu-padding-vertical) var(--dropdown-menu-padding-horizontal);