feat: responsive mobile layout for host rows (closes #2) #5
Reference in New Issue
Block a user
Delete Branch "feat/mobile-layout"
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?
Redesigns host rows for portrait/mobile viewports (<=768px):
Desktop layout is unchanged — all changes are inside a
@media (max-width: 768px)query and CSS class hooks added to the HTML.Closes #2
afb8bfe10eto0a633258a80a633258a8to86ba1b5b51Rebased on main (after PR #3 mobile block merge). Added a commit that removes the mobile-block placeholder code since this PR makes mobile actually work via CSS media queries.
Docker build verified ✅. Ready for review.
Review: ✅ PASS
Clean implementation. Removes the fragile UA-sniffing mobile block in favor of proper CSS media queries — correct approach.
What changed:
isMobile()/buildMobileUI()JS placeholder@media (max-width: 768px)CSS for responsive layoutMinor note: CSS selectors are tightly coupled to Tailwind class names (e.g.
.w-\[420px\]). If those classes change inmain.js, the responsive rules will silently stop matching. Manageable since both live in the same repo, but worth knowing.Desktop layout is untouched. No test/linter/config changes. Marking
merge-ready.