[wp-trac] [WordPress Trac] #60293: Twenty Fourteen: Table block does not have same design in editor and front.

WordPress Trac noreply at wordpress.org
Wed May 15 06:01:01 UTC 2024


#60293: Twenty Fourteen: Table block does not have same design in editor and front.
-----------------------------------------+----------------------
 Reporter:  pranitdugad                  |       Owner:  (none)
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  6.6
Component:  Bundled Theme                |     Version:
 Severity:  minor                        |  Resolution:
 Keywords:  has-patch changes-requested  |     Focuses:  ui, css
-----------------------------------------+----------------------
Changes (by poena):

 * keywords:  has-patch => has-patch changes-requested


Comment:

 Looking at the CSS in Gutenberg, the default is to have a transparent
 border when the striped styled is used:
 https://github.com/WordPress/gutenberg/blob/trunk/packages/block-
 library/src/table/style.scss#L74

 So I think the expectation is for it to remain transparent in both the
 editor and front even when the user changes the text color.

 With this PR,
 {{{
 .wp-block-table table[class*="-text-color"] *
 }}}
 overrides the transparent color set by the block:
 {{{
 .wp-block-table.is-style-stripes td, .wp-block-table.is-style-stripes th
 }}}

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


More information about the wp-trac mailing list