Fix incorrect line-height being inherited
Sets line-height to default on Ruffle's shadow-root, preventing incorrect line-height inheritance from the document.
This commit is contained in:
parent
cd550457e1
commit
9fecbc391c
|
@ -20,9 +20,10 @@ ruffleShadowTemplate.innerHTML = `
|
||||||
user-select: none;
|
user-select: none;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-webkit-tap-highlight-color: transparent;
|
-webkit-tap-highlight-color: transparent;
|
||||||
|
line-height: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Ruffle's width/height CSS interferes Safari fullscreen CSS. */
|
/* Ruffle's width/height CSS interferes with Safari's fullscreen CSS. */
|
||||||
/* Ensure that Safari's fullscreen mode actually fills the screen. */
|
/* Ensure that Safari's fullscreen mode actually fills the screen. */
|
||||||
:host(:-webkit-full-screen) {
|
:host(:-webkit-full-screen) {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
Loading…
Reference in New Issue