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:
Lord-McSweeney 2022-12-31 22:34:55 -08:00 committed by Nathan Adams
parent cd550457e1
commit 9fecbc391c
1 changed files with 2 additions and 1 deletions

View File

@ -20,9 +20,10 @@ ruffleShadowTemplate.innerHTML = `
user-select: none;
-webkit-user-select: none;
-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. */
:host(:-webkit-full-screen) {
display: block;