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(article-footer): reduce margin on small screens #11141

Merged
merged 1 commit into from
May 20, 2024

Conversation

pepelsbey
Copy link
Contributor

Summary

Fixes margins for the feedback form so the text won’t overflow.

Problem

The feedback form doesn’t fit well on smaller screens (iPhone 15 with 375px viewport).

Solution

Add @media condition for $screen-sm to make side margins smaller.

Screenshots

Before

before

After

after


How did you test this change?

I couldn’t test it because the feedback form is not available when running the project locally. But it tested it in DevTools.

@pepelsbey pepelsbey requested a review from a team as a code owner May 16, 2024 08:39
@caugner caugner changed the title fix(css): fit feedback form on smaller screens fix(article-footer): reduce margin on small screens May 20, 2024
Copy link
Contributor

@caugner caugner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good catch, thank you! 🙌

Before After
Screen Shot 2024-05-20 at 10 21 07 Screen Shot 2024-05-20 at 10 21 23

@caugner caugner merged commit b4bc689 into mdn:main May 20, 2024
9 checks passed
@pepelsbey pepelsbey deleted the feedback-fit branch May 23, 2024 09:13
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

3 participants