Bundled Themes: Twenty Nineteen dropcap appears higher than expected in Firefox.

Fixes the issue by adding moz specific top margin for the dropcap.

Props kjellr, joseph.dickson, maxpertici, samful.
Fixes #45876.
Built from https://develop.svn.wordpress.org/trunk@48047


git-svn-id: http://core.svn.wordpress.org/trunk@47814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ianbelanger 2020-06-15 15:13:09 +00:00
parent b8de1549ff
commit 6d914acd6c
5 changed files with 25 additions and 1 deletions

View File

@ -339,6 +339,12 @@
line-height: 1;
font-weight: bold;
margin: 0 0.25em 0 0;
@-moz-document url-prefix() {
& {
margin-top: 0.2em;
}
}
}
}

View File

@ -836,6 +836,12 @@ figcaption,
margin: 0 0.25em 0 0;
}
@-moz-document url-prefix() {
.wp-block-paragraph.has-drop-cap:not(:focus)::first-letter {
margin-top: 0.2em;
}
}
/** === Table === */
.wp-block-table {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;

View File

@ -236,6 +236,12 @@ figcaption,
line-height: 1;
font-weight: bold;
margin: 0 0.25em 0 0;
@-moz-document url-prefix() {
& {
margin-top: 0.2em;
}
}
}
}

View File

@ -5651,6 +5651,12 @@ body.page .main-navigation {
margin: 0 0.25em 0 0;
}
@-moz-document url-prefix() {
.entry .entry-content .has-drop-cap:not(:focus)::first-letter {
margin-top: 0.2em;
}
}
.entry .entry-content .wp-block-pullquote {
border-color: transparent;
border-width: 2px;

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.5-alpha-48046';
$wp_version = '5.5-alpha-48047';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.