From 383572b650195e42b2f8ddf8148aa520da935149 Mon Sep 17 00:00:00 2001 From: Kjell Reigstad Date: Fri, 18 Dec 2020 15:51:57 -0500 Subject: [PATCH] Update separator alignment rules --- tt1-blocks/assets/css/blocks.css | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tt1-blocks/assets/css/blocks.css b/tt1-blocks/assets/css/blocks.css index dcefc43f..e542661a 100644 --- a/tt1-blocks/assets/css/blocks.css +++ b/tt1-blocks/assets/css/blocks.css @@ -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; @@ -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; }