Skip to content
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

Fix issue "Explicit Column Percent Sizes remain on mobile; should default to 100% #204" #390

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

extrastufff054
Copy link

Title: Fix Mobile Layout Issue in custom.css

Description:

Context:
This pull request addresses a layout issue in our project where the Milligram framework's .column classes were not behaving correctly on mobile devices. Currently, these classes maintain their size but wrap to new rows on mobile, which is not the intended behavior.

Details of Changes:
In the custom.css file, I added a media query to ensure that the .column classes revert to 100% width on mobile devices (max-width: 42rem). This change will align the behavior with our design requirements, ensuring that columns occupy the full width on mobile screens.

Testing:
I thoroughly tested these changes on various mobile devices and browsers, including Chrome, Firefox, and Safari, to ensure that the columns now behave as expected on mobile breakpoints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant