mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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:
parent
b8de1549ff
commit
6d914acd6c
@ -339,6 +339,12 @@
|
||||
line-height: 1;
|
||||
font-weight: bold;
|
||||
margin: 0 0.25em 0 0;
|
||||
|
||||
@-moz-document url-prefix() {
|
||||
& {
|
||||
margin-top: 0.2em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user