[wp-trac] [WordPress Trac] #55974: Theme-specific border color options for Pullquote block

WordPress Trac noreply at wordpress.org
Fri Mar 1 05:40:59 UTC 2024


#55974: Theme-specific border color options for Pullquote block
-------------------------------------+-----------------------------
 Reporter:  kajalgohel               |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Bundled Theme            |     Version:  6.0
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  ui, css
-------------------------------------+-----------------------------

Comment (by poena):

 == Update on Twenty Twenty:
 I have updated PR https://github.com/WordPress/wordpress-
 develop/pull/6081/ to fix the border styles for Avatar (+ Comments avatar,
 its the same block...), Button, Comments Title, Featured Image, Table.

 I did not update the search block, because it is missing editor styles and
 should first be fixed in a separate issue.

 For the comments title, I removed the {{{border:none}}} from the CSS reset
 from all headings.
 For the other blocks I have overridden the CSS reset only where necessary.

 There is still one inconsistency for the table block where the editor and
 front shows different styles. That is when the borders are set to
 different widths. For example, when the top and bottom borders are 10px,
 but the left border is 1px.
 Solutions are welcome :)



 == Additional testing instructions:

 When testing the table block, the text color should be used as the border
 color, if there is no border color set.
 This is mostly so that the table block border continues to work on
 versions before WordPress 6.3, which is the version that added the support
 for border controls in classic themes.
 See https://core.trac.wordpress.org/ticket/58022

 When testing the blocks, remember to test with borders on only 1-3 sides.
 Not only with the default control that adds the border to all sides.

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


More information about the wp-trac mailing list