[wp-trac] [WordPress Trac] #57667: Twenty Twenty-Three: Separator Block default and wide line styling outputing same result

WordPress Trac noreply at wordpress.org
Thu Mar 9 11:33:52 UTC 2023


#57667: Twenty Twenty-Three: Separator Block default and wide line styling
outputing same result
---------------------------+------------------------------
 Reporter:  haritpanchal   |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:
 Severity:  minor          |  Resolution:
 Keywords:  has-patch      |     Focuses:  ui, css
---------------------------+------------------------------

Comment (by poena):

 Thank you for testing.
 I can sort of reproduce your result with WordPress 6.2-beta5-55493: but I
 can't reproduce it consistently.

 1) No CSS seems to be output for the class {{{.is-style-wide}}} when this
 style variation is selected. Not in the editor or the front.


 2) The two lines, which are the top and bottom borders, show with a space
 between them depending on the screen width and positioning.

 With both the list view and the block settings sidebar open:
 The **first** and **last** separator has a space between the borders.

 When I close a list view, making the editor wider, there is no space
 between the top and bottom borders.

 When I close both the list view and block settings sidebar:
 The **first** and **last** separator has a space between the borders.


 But if I refresh the editor, or if I select another block, I can no longer
 reproduce the issue.

 If I remove this CSS, it seems to solve the issue with the borders:

 {{{
 .block-editor-block-list__block[data-type="core/separator"] {
         padding-bottom: 0.1px;
         padding-top: 0.1px;
 }
 }}}

 But this CSS is unrelated to the original issue.



 On the front I do not see the space between the borders at all, the above
 CSS is not output on the front.

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


More information about the wp-trac mailing list