fix: Use em unit for story font size

This commit is contained in:
Tanner
2026-01-02 22:06:35 +00:00
committed by Tanner Collin (aider)
parent 64dd723573
commit e3c4d0236f
+1 -1
View File
@@ -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 ||