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. git-svn-id: https://develop.svn.wordpress.org/trunk@48047 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
69c92a64aa
commit
5b69998102
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user