Make WordPress Core

Changeset 60343


Ignore:
Timestamp:
06/24/2025 11:12:35 AM (6 months ago)
Author:
karmatosed
Message:

Twenty Twelve: Fixes figcaption alignment.

The figcaption alignment was not the same on the front as in the editor. This resolves that.

Props nidhidhandhukiya, sabernhardt.
Fixes #63073.

File:
1 edited

Legend:

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

    r58882 r60343  
    142142/* Captions */
    143143
     144[class*=" wp-block-"] figcaption,
    144145[class^="wp-block-"] figcaption,
    145146[class^="wp-block-"] figcaption.editor-rich-text__tinymce.mce-content-body {
     
    148149    line-height: 2;
    149150    font-style: italic;
    150     text-align: left;
    151 }
    152 
    153 .rtl [class^="wp-block-"] figcaption,
    154 .rtl [class^="wp-block-"] figcaption.editor-rich-text__tinymce.mce-content-body {
    155     text-align: right;
     151    text-align: start;
    156152}
    157153
Note: See TracChangeset for help on using the changeset viewer.