fix: Use em unit for story font size
This commit is contained in:
@@ -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