Commit Graph
1 Commits
Author SHA1 Message Date
Sin991114 6c1e41c5f9 Fix font-size/padding not applying in VS Code (#1261) (#1595)
The VS Code webview was misdetected as a mobile device when the panel
was narrow on touch-capable machines, because device detection only
exempted the Electron shell. That added the `mobile-pointer` class,
letting mobile.css override the typography vars with `!important`, which
beats the inline styles from applyTypography/applyPadding — so font-size
and padding settings had no effect.

Treat the VS Code runtime like the desktop shell, as Electron already is.
2026-06-23 11:32:30 +03:00