Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/routes/(app)/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,12 @@
opacity: 0.5;
}
}

/* Hide the footer on mobile / small viewports — it costs too much screen

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trim the rationale from this comment. "it costs too much screen real estate there" is justification that belongs in the PR/issue, not the code. Keep only the non-obvious technical note, e.g.: /* Match Header's 768px desktop breakpoint. */

real estate there. Mirrors the Header's 768px desktop breakpoint. */
@media only screen and (max-width: 767.98px) {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a fix: PR with no regression test. Per our convention, every fix should pin the new behaviour with a test that would have caught the bug pre-fix. Add a Playwright test asserting .app-footer is hidden at a mobile viewport (e.g. 375px) and visible at desktop (e.g. 1024px). You already verified exactly this manually — codify it so it can't silently regress.

.app-footer {
display: none;
}
}
</style>