generated from Seekra/repository-template
Fix navbar alignment on mobile devices #110
Reference in New Issue
Block a user
Delete Branch "feature/fix-navbar-alignment-on-mobile-devices"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
This PR fixes the alignment issue on mobile devices (e.g., iPhone 12) where the navbar items (Seekra logo and Dark/Light toggle) were sitting too far inward.
By reducing the horizontal padding from
40pxto16pxon screens below48rem(768px), the elements now push outward to align correctly with the rest of the layout's edge. Additionally, the mobile search bar wrapper padding was adjusted to match this spacing perfectly.Related Issues
Closes #102
Changes
src/features/nav/components/Navbar.vue:(max-width: 48rem)to reduce.global-navhorizontal padding to16px.da912fcbf5toc919263c36