Fix issues related to columned lists in Safari #1612
Merged
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.
Overview
This PR fixes three Safari issues that were visible in different situations in the article topics listing:
u-hidden-visually
elements within the list would cause Safari to increase the scrollable height of the window. This was resolved by addingposition: relative
to children of the list. (It was not effective to add this to the parent.)break-inside: avoid
to children of the list. (page-break-inside
and-webkit-column-break-inside
are common suggestions, but these are older properties that didn't seem to have any more effect)u-space-block-end-0
withu-pad-block-end-0
in the relevant templates.Screenshots
Before
Highlighting visually divided items and extra space...
After
Testing
The issue was previously symptomatic in "Objects ▸ Overview ▸ Advanced" and "Prototypes ▸ Article Listing ▸ Example," so those are good stories to verify the fix in.