mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
fix(ui): move mobile search bar to top to avoid keyboard occlusion
Moves the `#mobileSearchContainer` from the bottom-right corner to the top of the viewport (`top-4`). This ensures that the search input remains visible when the virtual keyboard is active on mobile devices, preventing it from being covered. - Updated `index.html` to change classes from `bottom-6 right-6 origin-bottom-right` to `top-4 left-4 right-4 origin-top`. - Removed `w-[calc(...)]` in favor of `left-4 right-4` for simpler full-width behavior with margins. - Ran `npm run build:css` to update generated CSS.
This commit is contained in:
1 parent
933841bb0e
commit
e68e5cd1c7
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -379,7 +379,7 @@
|
||||
<!-- Mobile Search Container -->
|
||||
<div
|
||||
id="mobileSearchContainer"
|
||||
class="fixed bottom-6 right-6 z-50 hidden w-[calc(100%-var(--sidebar-mobile-gutter))] max-w-sm origin-bottom-right transition-all duration-200 md:hidden"
|
||||
class="fixed top-4 left-4 right-4 z-50 hidden max-w-sm mx-auto origin-top transition-all duration-200 md:hidden"
|
||||
>
|
||||
<form
|
||||
id="mobileSearchForm"
|
||||
|
||||
Reference in new issue
Block a user