Skip to content

Commit c7da9db

Browse files
refactor: make filter dropdown widths responsive with clamp for better zoom/mobile behavior
1 parent b4adbdb commit c7da9db

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

website/index.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ header {
166166
color: var(--color-foreground-text);
167167
background-color: var(--color-background-gray);
168168
border-radius: 5px;
169-
min-width: 37ch;
169+
min-width: clamp(14rem, 45vw, 37ch);
170+
width: min(37ch, 100%);
170171
max-width: 100%;
171172
box-sizing: border-box;
172173
}

0 commit comments

Comments
 (0)