fix: responsive/mobile layout improvements#165
Merged
Conversation
Agent-Logs-Url: https://github.com/DavidKRK/DavidKRK.github.io/sessions/f7138505-4339-4276-95c2-e5491352112b Co-authored-by: DavidKRK <136035295+DavidKRK@users.noreply.github.com>
|
|
Copilot created this pull request from a session on behalf of
DavidKRK
April 8, 2026 02:28
View session
Contributor
There was a problem hiding this comment.
Pull request overview
This PR addresses multiple mobile/responsive layout breakages in the site’s primary stylesheet, focusing on preventing horizontal overflow and improving small-viewport usability.
Changes:
- Added a touch-device fallback for
background-attachment: fixedon the home page background. - Made header navigation and language selector wrap to avoid off-screen overflow.
- Made the Mixcloud player container and shop/content images responsive to prevent clipping/scrolling on mobile.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Several layout issues broke the site on mobile: nav links overflowed off-screen, the Mixcloud player was too narrow,
background-attachment: fixedcrashed on iOS Safari, and shop images caused horizontal scroll.Changes
assets/css/style.cssflex-wrap: wrap+ tightened padding/font-size at≤768pxso links wrap instead of clippingwidth: 33%with responsive steps:90%mobile →60%tablet →33%desktopbackground-attachment: fixedis broken on touch devices; fallback toscrollvia@media (hover: none)2.5remrule was losing to base4rem !important; added!importantto enforce the breakpoint valueflex-wrap: wrapto prevent overflow on small viewportsmax-width: 100%; height: autoon.product-image imgand.lang-content img