-
Notifications
You must be signed in to change notification settings - Fork 700
Suspicious HTML fontSize setting #572
Copy link
Copy link
Closed
Labels
Description
I was seeing in slide-wrapper.js that any wrapped component modifies the fontSize of the HTML tag based on its own zoom state.
if (!this.props.viewerScaleMode) {
document.documentElement.style.fontSize = `${16 * this.state.zoom}px`;
}
Is this correct?
What's the use of "viewerScaleMode" attribute?
I was looking for the code that modifies the fontSize of the HTML element after the page starts rendering.
Reactions are currently unavailable