Skip to content

Commit 429d84e

Browse files
committed
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. git-svn-id: https://develop.svn.wordpress.org/branches/6.8@60427 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 5165516 commit 429d84e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/wp-content/themes/twentytwelve/css/editor-blocks.css

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,18 +141,14 @@ Description: Used to style blocks in the editor.
141141

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 {
146147
color: #757575;
147148
font-size: 12px;
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

158154
/* Definition Lists */

0 commit comments

Comments
 (0)