-
Notifications
You must be signed in to change notification settings - Fork 0
fix: hide app footer on mobile viewports #282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -74,4 +74,12 @@ | |
| opacity: 0.5; | ||
| } | ||
| } | ||
|
|
||
| /* Hide the footer on mobile / small viewports — it costs too much screen | ||
| real estate there. Mirrors the Header's 768px desktop breakpoint. */ | ||
| @media only screen and (max-width: 767.98px) { | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a |
||
| .app-footer { | ||
| display: none; | ||
| } | ||
| } | ||
| </style> | ||
There was a problem hiding this comment.
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. */