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 40px to 16px on screens below 48rem (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.
Added a media query for (max-width: 48rem) to reduce .global-nav horizontal padding to 16px.
## 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 `40px` to `16px` on screens below `48rem` (`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`**:
- Added a media query for `(max-width: 48rem)` to reduce `.global-nav` horizontal padding to `16px`.
jakob.scheid
changed title from Fix navbar alignment on mobile devices to Fix: navbar alignment on mobile devices2026-07-20 12:18:58 +02:00
jakob.scheid
changed title from Fix: navbar alignment on mobile devices to Fix(navigation): navbar alignment on mobile devices2026-07-20 12:28:35 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.da912fcbf5toc919263c36Fix navbar alignment on mobile devicesto Fix: navbar alignment on mobile devicesFix: navbar alignment on mobile devicesto Fix(navigation): navbar alignment on mobile devices