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

Maintain sidebar container compatibility with 3 column layout #624

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

adamwoodnz
Copy link
Contributor

@adamwoodnz adamwoodnz commented Jun 10, 2024

The parent theme 3 column layout has been updated for compatibility with Gutenberg 18.5.

This change makes the scrollbar container compatible. The logic is simplified so that the padding and margin aren't factors.

See WordPress/wporg-parent-2021#139

Test using WordPress/wporg-documentation-2022#97 and WordPress/wporg-developer#522

The parent theme 3 column layout has been updated for compatibility with Gutenberg 18.5.
This change makes the scrollbar container compatible.
The logic is simplified so that the padding and margin aren't factors.

See WordPress/wporg-parent-2021#139
@adamwoodnz adamwoodnz force-pushed the fix/sidebar-container-gutenberg-18-5-compat branch from 2d01faa to 4b3982a Compare June 10, 2024 02:57
@adamwoodnz adamwoodnz requested a review from ryelle June 10, 2024 09:54
@adamwoodnz adamwoodnz self-assigned this Jun 10, 2024
@adamwoodnz adamwoodnz changed the title Update sidebar container fixed positioning for compatibility with Gutenberg 18.5 Maintain sidebar container compatibility with 3 column layout Jun 10, 2024
Copy link
Contributor

@ryelle ryelle left a comment

Choose a reason for hiding this comment

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

Alignment looks good when scrolling, section jumping still works as expected, and footer-collision is working 👍🏻

@adamwoodnz adamwoodnz merged commit 3a86032 into trunk Jun 11, 2024
2 checks passed
@adamwoodnz adamwoodnz deleted the fix/sidebar-container-gutenberg-18-5-compat branch June 11, 2024 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants