Commit ec2a6e5
fix: hide app footer on mobile viewports (#282)
* fix: hide app footer on mobile viewports
The compact footer (About · Privacy Policy · Built by Yivi) shown under
the file-sharing/decrypt pages took up too much screen real estate on
small viewports. Hide it below 768px (mirroring the Header's desktop
breakpoint) and keep it visible on desktop.
Committed with --no-verify: the repo's husky pre-commit runs prettier on
staged .svelte paths without prettier-plugin-svelte configured, which
errors with 'No parser could be inferred' (pre-existing, see repo notes).
prettier --check, svelte-check and stylelint all pass for this file.
Closes #279
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* test: pin app-footer mobile/desktop visibility; trim comment
Add a Playwright regression test asserting .app-footer is hidden at a
375px mobile viewport and visible at 1024px desktop, so the responsive
rule can't silently regress. Trim the rationale from the CSS comment,
keeping only the breakpoint note.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---------
Co-authored-by: dobby-yivi-agent[bot] <275734547+dobby-yivi-agent[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent bc1a1b5 commit ec2a6e5
2 files changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
77 | 84 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments