Skip to content

Commit cb003b0

Browse files
committed
Twenty Twenty: Fix font inconsistency for Latest Posts block in block editor.
This ensures that the font used on the frontend is also used in the block editor. Props rishabhwp, shailu25, sabernhardt, jobata, gulamdastgir04, oglekler, nidhidhandhukiya, Maia12345, audrasjb. Fixes #63798. git-svn-id: https://develop.svn.wordpress.org/trunk@61189 602fd350-edb4-49c9-b593-d223f7449a82
1 parent b289221 commit cb003b0

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,6 +1064,10 @@ hr.wp-block-separator.is-style-dots::before {
10641064
margin-top: 15px;
10651065
}
10661066

1067+
.wp-block-latest-posts__post-full-content p {
1068+
font-family: inherit;
1069+
}
1070+
10671071
.wp-block-latest-posts__post-full-content > p:first-child {
10681072
margin-top: 1em;
10691073
}

src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,6 +1068,10 @@ hr.wp-block-separator.is-style-dots::before {
10681068
margin-top: 15px;
10691069
}
10701070

1071+
.wp-block-latest-posts__post-full-content p {
1072+
font-family: inherit;
1073+
}
1074+
10711075
.wp-block-latest-posts__post-full-content > p:first-child {
10721076
margin-top: 1em;
10731077
}

0 commit comments

Comments
 (0)