Skip to content
Open
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
4 changes: 4 additions & 0 deletions src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,10 @@
}
}

&.alignfull:not(.is-style-dots) {
max-width: none;
}

/* Remove duplicate rule-line when a separator
* is followed by an H1, or H2 */
& + h1,
Expand Down
4 changes: 4 additions & 0 deletions src/wp-content/themes/twentynineteen/style-editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -1293,6 +1293,10 @@ figcaption,
margin-left: 0;
}

.wp-block-separator.alignfull:not(.is-style-dots) {
width: 100%;
}

.wp-block-separator.is-style-dots {
color: #767676;
}
Expand Down
4 changes: 4 additions & 0 deletions src/wp-content/themes/twentynineteen/style-editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,10 @@ figcaption,
margin-left: 0;
}

&.alignfull:not(.is-style-dots) {
width: 100%;
}

&.is-style-dots {
color: $color__text-light;
}
Expand Down
5 changes: 5 additions & 0 deletions src/wp-content/themes/twentynineteen/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6136,6 +6136,11 @@ body.page .main-navigation {
padding-left: 0.88889em;
}

.entry .entry-content .wp-block-separator.alignfull:not(.is-style-dots),
.entry .entry-content hr.alignfull:not(.is-style-dots) {
max-width: none;
}

.entry .entry-content .wp-block-separator + h1:before,
.entry .entry-content .wp-block-separator + h2:before,
.entry .entry-content hr + h1:before,
Expand Down
Loading