Make WordPress Core

Ticket #52545: 52545.2.diff

File 52545.2.diff, 600 bytes (added by melchoyce, 4 years ago)

Remove all default browser figure styles

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

     
    5050
    5151/* Image */
    5252
    53 .wp-block-image figure {
    54         margin-bottom: 24px;
     53.wp-block-image {
     54        margin-block-start: 0;
     55        margin-block-end: 0;
     56        margin-inline-start: 0;
     57        margin-inline-end: 0;
    5558}
    5659
    5760.wp-block-image figcaption {
     
    6568        margin: 0;
    6669}
    6770
     71.wp-block-image img {
     72        height: auto;
     73}
     74
    6875/* Gallery */
    6976
    7077.wp-block-gallery {