[wp-trac] [WordPress Trac] #61787: Twenty Twenty: Separator block (dots) does not render anymore

WordPress Trac noreply at wordpress.org
Tue Jul 30 11:36:29 UTC 2024


#61787: Twenty Twenty:  Separator block (dots) does not render anymore
----------------------------------------+------------------------------
 Reporter:  mrfoxtalbot                 |       Owner:  (none)
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Bundled Theme               |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch has-testing-info  |     Focuses:
----------------------------------------+------------------------------

Comment (by poena):

 In WordPress 6.6.x, the specificity of the default block styles from
 WordPress core was lowered
 with
 {{{
 root :where
 }}}

 The default styles for the dotted separator are now overwritten by this
 theme style

 {{{
 .entry-content hr::before,
 .entry-content hr::after,
 hr.styled-separator::before,
 hr.styled-separator::after {
         background: currentColor;
         content: ""; <----------------- This is the problematic style
         display: block;
         height: 1.6rem;
         position: absolute;
         top: calc(50% - 0.8rem);
         transform: rotate(-22.5deg);
         width: 0.1rem;
 }
 }}}

 So my **question** is if it would not be better to make sure that the
 theme style for the custom separators {{{-//-}}}does not override the
 dotted separators?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61787#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list