Amulet: Empty Space on the Right Side on Mobile #8308
Labels
Customer Report
Issues or PRs that were reported via Happiness. Previously known as "Happiness Request".
[Feature Group] Appearance & Themes
Features related to the appearance of sites.
Needs triage
[Pri] Low
[Type] Bug
Something isn't working
Quick summary
On mobile, the theme has some extra space to the side, causing some issues including the inability to close the full page menu.
Steps to reproduce
A clear and concise description of what you expected to happen.
The page should not scroll left and right on mobile.
The X button on the menu should appear within the view.
What actually happened
There is an empty space on the right of all content:
Impact
Some (< 50%)
Available workarounds?
Yes, easy to implement
If the above answer is "Yes...", outline the workaround.
This is a mix of two issues:
Issue 1: There is an ongoing issue with FSE where text breaks don't apply automatically - #7409
This can be addressed by editing all the default H2 blocks included with the theme, but that's sub-optimal.
A quick one is to use this CSS code:
Issue 2: .alignfull elements use a negative margin, this can be fixed with this code:
This can also be customized from FSE, but there are too many blocks to customize.
Platform (Simple and/or Atomic)
No response
Logs or notes
Aside from the general FSE issue #7409 , The following .alignfull negative margins are problematic:
Negative margins have the opposite effect of margin, making the blocks bigger than their container (if not restricted). In this case 5vw and 3vw bigger.
8917691-zen
The text was updated successfully, but these errors were encountered: