From 2ebc90d418bd46e79bbc2bc95c9bacdd2e5de4e0 Mon Sep 17 00:00:00 2001 From: pancakes Date: Thu, 27 Feb 2025 13:10:18 +1000 Subject: [PATCH] [frontend/components] Simplify menu and emoji picker borders on mobile --- Iceshrimp.Frontend/Components/EmojiPicker.razor.css | 5 +++-- Iceshrimp.Frontend/Components/Menu.razor.css | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Iceshrimp.Frontend/Components/EmojiPicker.razor.css b/Iceshrimp.Frontend/Components/EmojiPicker.razor.css index c8d8a9d3..48d31062 100644 --- a/Iceshrimp.Frontend/Components/EmojiPicker.razor.css +++ b/Iceshrimp.Frontend/Components/EmojiPicker.razor.css @@ -48,8 +48,9 @@ summary { max-width: 100vw; max-height: 30rem; border-bottom: none; - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; + border-left: none; + border-right: none; + border-radius: 0; } .emoji-list { diff --git a/Iceshrimp.Frontend/Components/Menu.razor.css b/Iceshrimp.Frontend/Components/Menu.razor.css index e42763a5..ba511ddc 100644 --- a/Iceshrimp.Frontend/Components/Menu.razor.css +++ b/Iceshrimp.Frontend/Components/Menu.razor.css @@ -36,8 +36,9 @@ width: 100vw; max-width: 100vw; border-bottom: none; - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; + border-left: none; + border-right: none; + border-radius: 0; z-index: +26; padding-bottom: env(safe-area-inset-bottom); }