Skip to content

Fix content layout on pages without sidebars for 768-979px viewport widths - #501

Merged
cmb69 merged 1 commit into
php:masterfrom
SteveDesmond-ca:css
Oct 17, 2022
Merged

cmb69 merged 1 commit into
php:masterfrom
SteveDesmond-ca:css

Conversation

@SteveDesmond-ca

@SteveDesmond-ca SteveDesmond-ca commented Feb 24, 2022 •

Copy link
Copy Markdown
Contributor

Per #500, pages without sidebar content (in an aside tag) are still pushed to the side at 70% width. I believe this is due to an over-eager selector (the one line changed in this PR).

The combination of #layout-content and :only-child is used in multiple places elsewhere in the site's CSS files, so I figured that was the safest option to minimize the amount of code being changed.

@SteveDesmond-ca
SteveDesmond-ca marked this pull request as ready for review February 24, 2022 18:37
@samdark

samdark commented Oct 17, 2022

Copy link
Copy Markdown
Contributor

👍

@cmb69 cmb69 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ugh, this nice fix has apparently been overlooked. @SteveDesmond-ca, could you please fix the merge conflict?

@SteveDesmond-ca

Copy link
Copy Markdown
Contributor Author

@cmb69 No worries, I luckily still had my PR branches around!

@cmb69
cmb69 merged commit b4a8b26 into php:master Oct 17, 2022
@cmb69

cmb69 commented Oct 17, 2022

Copy link
Copy Markdown
Member

Thank you!

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.

3 participants