From 57b694162d031c785fda44a3b1c8569427645732 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 29 Nov 2025 09:29:00 +0200 Subject: [PATCH] style(mobile/context_menu): rounded corners for anchored positioning --- apps/client/src/stylesheets/theme-next/base.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/client/src/stylesheets/theme-next/base.css b/apps/client/src/stylesheets/theme-next/base.css index 45ea5a3eb..7a1eacf67 100644 --- a/apps/client/src/stylesheets/theme-next/base.css +++ b/apps/client/src/stylesheets/theme-next/base.css @@ -314,15 +314,19 @@ body.mobile #context-menu-cover { } } +body.mobile .dropdown-menu.mobile-bottom-menu, +body.mobile .dropdown.global-menu .dropdown-menu { + border-radius: var(--dropdown-border-radius) var(--dropdown-border-radius) 0 0; +} + body.mobile .dropdown-menu { --dropdown-menu-padding-vertical: 0.7em; --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) var(--dropdown-border-radius) 0 0; position: relative; - + .dropdown-toggle::after { top: 0.5em; right: var(--dropdown-menu-padding-horizontal);