mirror of
git://develop.git.wordpress.org/
synced 2025-03-14 17:09:47 +01:00
Bundled Themes: Twenty Twenty image caption is not aligned center when image is, on the front-end.
Fixes the image caption alignment issue by adding text-align: center; to .wp-block-image .aligncenter figcaption. This brings the changes from [47689] to the 5.4 branch. Props markusthiel, SergeyBiryukov, garethgillman. Fixes #49320. git-svn-id: https://develop.svn.wordpress.org/branches/5.4@47826 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
54bb2e0a4f
commit
026ffa77c1
@ -5847,6 +5847,10 @@ a.to-the-top > * {
|
||||
.wp-block-image .alignright {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.wp-block-image .aligncenter figcaption {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* BLOCK: SEPARATOR */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user