Make WordPress Core

Ticket #60424: 60424.2.patch

File 60424.2.patch, 1.3 KB (added by sabernhardt, 22 months ago)

adding .is-style-stripes class to cell border styles to prevent block styles from overriding theme, removing bottom border from block (figure) element

  • src/wp-content/themes/twentyfifteen/css/blocks.css

     
    373373/* Table */
    374374
    375375.wp-block-table th,
    376 .wp-block-table td {
     376.wp-block-table td,
     377.wp-block-table.is-style-stripes th,
     378.wp-block-table.is-style-stripes td {
    377379        border-color: #eaeaea;
    378380        border-width: 0 1px 1px 0;
    379381}
    380382
     383figure.wp-block-table.is-style-stripes {
     384        border-width: 0;
     385}
     386
    381387/*--------------------------------------------------------------
    3823884.0 Blocks - Layout Elements
    383389--------------------------------------------------------------*/
  • src/wp-content/themes/twentyfifteen/css/editor-blocks.css

     
    731731        text-align: right;
    732732}
    733733
     734.wp-block-table th,
     735.wp-block-table td,
     736.wp-block-table.is-style-stripes th,
     737.wp-block-table.is-style-stripes td {
     738        border-color: #eaeaea;
     739}
     740
     741figure.wp-block-table.is-style-stripes {
     742        border-width: 0;
     743}
     744
    734745/* Verse */
    735746
    736747.editor-styles-wrapper .wp-block-verse {