Make WordPress Core

Changeset 58399


Ignore:
Timestamp:
06/13/2024 09:51:27 AM (3 months ago)
Author:
karmatosed
Message:

Twenty Fourteen: Fixes table block not having same design in editors.

The table block did not have the same design in the editor for front and back. This resolves the issue for the front end editor.

Props pranitdugad, nidjidhandhukiya, poena, shailu25, hmbashar, ugyensupport.
Fixes #60293.

Location:
trunk/src/wp-content/themes/twentyfourteen/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/css/blocks.css

    r58369 r58399  
    238238}
    239239
    240 .wp-block-table th,
    241 .wp-block-table td {
     240.wp-block-table:not(.is-style-stripes) th,
     241.wp-block-table:not(.is-style-stripes) td {
    242242    border-color: rgba(0, 0, 0, 0.1);
    243243    border-width: 0 1px 1px 0;
     244}
     245
     246.wp-block-table:not(.is-style-stripes) table[class*="-text-color"] * {
     247    border-color: inherit;
     248    border: 1px solid;
    244249}
    245250
  • trunk/src/wp-content/themes/twentyfourteen/css/editor-blocks.css

    r58053 r58399  
    195195.rtl .edit-post-visual-editor .editor-block-list__block table th {
    196196    text-align: right;
     197}
     198
     199.editor-styles-wrapper .wp-block-table:not(.is-style-stripes) table:not([class*="-text-color"]) * {
     200    border-color: rgba(0, 0, 0, 0.1);
    197201}
    198202
Note: See TracChangeset for help on using the changeset viewer.