From 1bc8aafac0c1a10deeeb71825429c1ae740c382c Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Sat, 28 Jan 2023 22:23:10 -0800 Subject: [PATCH] Fix dropdown menu width again --- components/DropdownMenuContent/index.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/DropdownMenuContent/index.scss b/components/DropdownMenuContent/index.scss index 96fa2040..4d5d867c 100644 --- a/components/DropdownMenuContent/index.scss +++ b/components/DropdownMenuContent/index.scss @@ -4,7 +4,8 @@ border-radius: 6px; box-shadow: 0 1px 4px rgb(0 0 0 / 8%); box-sizing: border-box; - min-width: 30vw; + width: 30vw; + max-width: 180px; margin: 0 $unit-2x; // top: $unit-8x; // This shouldn't be hardcoded. How to calculate it? // Also, add space that doesn't make the menu disappear if you move your mouse slowly