fix: Use em unit for story font size

This commit is contained in:
2026-01-02 22:06:35 +00:00
committed by Tanner Collin (aider)
parent a8a794bc65
commit 6dce141862

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 ||