Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,20 @@ header.wp-block-template-part:has(> .is-position-sticky):has(.wp-block-navigatio
flex-grow: 1;
}

/*
* Sidebar templates: the main column is a constrained layout justified to the
* left, so its content keeps the content width against the edge away from the
* sidebar. Core writes that justification as physical margins (margin-left: 0,
* margin-right: auto) with no RTL counterpart, so in RTL the content stays on
* the left and leaves a gap against the right edge. Swap the margins so the
* content sits at the start edge in either direction. Core's margins are
* !important, so these must be too.
*/
.rtl main > .wp-block-columns > .wp-block-column.is-content-justification-left > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
margin-left: auto !important;
margin-right: 0 !important;
}

/*
* Arrival bar: the blank canvas keeps index and single visually close, so a
* thin accent bar sweeps the top of the viewport when a single post loads,
Expand Down
2 changes: 1 addition & 1 deletion style.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading