fix: resolve mobile layout overflow on small screens (Issue #178)#182
Open
ADITYA-CODE-SOURCE wants to merge 3 commits intoeclipse-sw360:mainfrom
Open
fix: resolve mobile layout overflow on small screens (Issue #178)#182ADITYA-CODE-SOURCE wants to merge 3 commits intoeclipse-sw360:mainfrom
ADITYA-CODE-SOURCE wants to merge 3 commits intoeclipse-sw360:mainfrom
Conversation
…tibility
This PR addresses two major blockers encountered while setting up the
local development environment on Windows 11 using the provided Docker script:
1. Docker Volume Mount Failure (Windows / Git Bash)
- Added MSYS_NO_PATHCONV=1 to disable automatic path conversion
- Added --user root to resolve volume mount permission issues
2. Build Failure: Duplicate Frontmatter Keys
- Removed duplicate speakers: keys in 3 Markdown files:
- content/en/events/2018/free-software-legal-licensing-workshop-2018.md
- content/en/events/2018/yanking-the-chain-open-source.md
- content/en/events/2017/open-source-summit-europe-2017.md
Fixes eclipse-sw360#179
…w360#178) Fixed horizontal overflow on mobile devices (320px width) caused by fixed-width images in the hero section. Changes made: - content/en/_index.html: Replaced fixed widths with responsive classes - Changed logo from width="400" to class="hero-logo" - Changed screenshot from width="500" to class="hero-screenshot" - assets/scss/_styles_project.scss: Added responsive CSS rules - Added .hero-logo class with max-width and media queries - Added .hero-screenshot class with max-width and media queries - Added responsive padding for mobile viewports The layout now adapts properly to small screens without horizontal overflow. Fixes eclipse-sw360#178
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.
Description
Fixed horizontal overflow on mobile devices (320px width) caused by fixed-width images in the hero section.
Problem
When browsing the SW360 homepage on narrow screen widths (e.g., mobile phone / 320px), the hero section overflows horizontally, resulting in white space on the right side of the screen.
Solution
Made the hero images responsive by:
Changes Made
content/en/_index.html:
width="400"toclass="hero-logo"width="500"toclass="hero-screenshot"assets/scss/_styles_project.scss:
.hero-logoclass with max-width and media queries.hero-screenshotclass with max-width and media queriesTesting
Fixes #178