Make WordPress Core

Changeset 60427


Ignore:
Timestamp:
07/07/2025 08:15:26 PM (4 months ago)
Author:
audrasjb
Message:

Twenty Twelve: Fixes figcaption alignment.

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

Reviewed by audrasjb, karmatosed.
Merges [60343] to the 6.8 branch.
Props nidhidhandhukiya, sabernhardt.
Fixes #63073.

Location:
branches/6.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.8

  • branches/6.8/src/wp-content/themes/twentytwelve/css/editor-blocks.css

    r58882 r60427  
    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.