fix: Use em unit for story font size
This commit is contained in:
committed by
Tanner Collin (aider)
parent
64dd723573
commit
e3c4d0236f
@@ -134,7 +134,7 @@ function App() {
|
||||
style.id = styleId;
|
||||
document.head.appendChild(style);
|
||||
}
|
||||
style.innerHTML = `.story-text { font-size: ${storyFontSize}rem !important; }`;
|
||||
style.innerHTML = `.story-text { font-size: ${storyFontSize}em !important; }`;
|
||||
}, [storyFontSize]);
|
||||
|
||||
const fullScreenAvailable = document.fullscreenEnabled ||
|
||||
|
||||
Reference in New Issue
Block a user