Make WordPress Core

Ticket #58362: 58362.diff

File 58362.diff, 1.4 KB (added by sabernhardt, 14 months ago)

inherits font size in header and data cells when customized for Table or Calendar blocks, using a relative line-height

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

     
    156156        background: #f2f7fc;
    157157}
    158158
     159#content .wp-block-table[style*="font-size"] *,
     160#content .wp-block-table[class*="-font-size"] *,
     161#content .wp-block-calendar[style*="font-size"] *,
     162#content .wp-block-calendar[class*="-font-size"] * {
     163        font-size: inherit;
     164        line-height: 1.5;
     165}
     166
    159167/*--------------------------------------------------------------
    1601684.0 Blocks - Layout Elements
    161169--------------------------------------------------------------*/
  • src/wp-content/themes/twentyten/editor-blocks.css

     
    294294        padding-top: 0;
    295295}
    296296
     297.wp-block-table[style*="font-size"] *,
     298.wp-block-table[class*="-font-size"] *,
     299.wp-block-calendar[style*="font-size"] *,
     300.wp-block-calendar[class*="-font-size"] * {
     301        font-size: inherit;
     302        line-height: 1.5;
     303}
     304
    297305/*--------------------------------------------------------------
    2983065.0 Blocks - Widgets
    299307--------------------------------------------------------------*/