fix(FN-1295): prevent mobile search bar from overlapping logo

- Replace fixed width constraints with flexible left/right positioning using CSS variables
- Remove hardcoded width/min-width/max-width that caused overflow on narrow screens
- Set left edge to var(--space-md) and right edge to 120px to avoid logo collision
This commit is contained in:
gsxdsm
2026-04-08 21:52:53 -07:00
parent 75ec1874a5
commit 93bfd8a9c0

View File

@@ -5827,13 +5827,10 @@ body {
.mobile-search-expanded {
position: absolute;
right: 0;
left: auto;
right: 120px;
left: var(--space-md);
top: 50%;
transform: translateY(-50%);
width: 200px;
max-width: calc(100vw - 140px - var(--space-md) * 2);
min-width: 120px;
z-index: 10;
background: var(--surface);
box-shadow: var(--shadow-md);