Skip to content

Commit

Permalink
Merge pull request #153 from WordPress/update/separator-alignment-rules
Browse files Browse the repository at this point in the history
TT1 Blocks: Update separator alignment rules
  • Loading branch information
kjellr authored Jan 4, 2021
2 parents 279576a + 383572b commit 7d483d8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions tt1-blocks/assets/css/blocks.css
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,12 @@ hr:not(.is-style-wide):not(.is-style-dots),
}

.wp-block[data-align="wide"] .wp-block-separator:not(.is-style-wide):not(.is-style-dots),
.wp-block[data-align="full"] .wp-block-separator:not(.is-style-wide):not(.is-style-dots),
hr.alignwide:not(.is-style-wide):not(.is-style-dots),
.wp-block-separator.alignwide:not(.is-style-wide):not(.is-style-dots),
.wp-block-separator.alignwide:not(.is-style-wide):not(.is-style-dots) {
max-width: 100%;
}

.wp-block[data-align="full"] .wp-block-separator:not(.is-style-wide):not(.is-style-dots),
hr.alignfull:not(.is-style-wide):not(.is-style-dots),
.wp-block-separator.alignfull:not(.is-style-wide):not(.is-style-dots) {
max-width: inherit;
Expand All @@ -207,6 +210,10 @@ hr.is-style-twentytwentyone-separator-thick,
border-bottom: none;
}

.wp-block-separator.is-style-dots.alignwide {
width: 100%;
}

.wp-block-separator.is-style-dots > hr {
display: none;
}
Expand Down

0 comments on commit 7d483d8

Please sign in to comment.