mediawiki-extensions-Visual.../modules/ve-mw/init/styles
Bartosz Dziewoński 69147ce3bc Fix Vector wikitext surface padding overrides when using custom browser font-size
In order to get the desired padding, the `em` values were pre-multiplied
by the parent font-size, which was assumed to be `0.875em` for normal
surfaces and `(13.3333/16)em` for wikitext surfaces. (That should have
been `(13/16em)`, by the way, but that's a negligible difference.)

Unfortunately, the font-size for wikitext surfaces is actually `13px`.
Unlike `em`, `px` values are not affected by custom browser font-size,
so when one was set, the final padding was all out of whack.

Use `rem` units instead to respect the custom browser font-size,
without getting problems due to the parent element font-size.
We don't need separate rules for .ve-ui-mwWikitextSurface now.

Bug: T222217
Change-Id: Ib7ffbf09d5aa23fddb894aa3b081ec993ddcee2d
2019-09-18 22:24:47 +02:00
..
ve.init.mw.DesktopArticleTarget-apex.css stylelint: Enforce class name pattern 2019-01-13 15:14:53 +00:00
ve.init.mw.DesktopArticleTarget-minerva.css rootNode/documentNode -> attachedRootNode 2019-02-13 19:03:36 +00:00
ve.init.mw.DesktopArticleTarget-monobook.css doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.init.mw.DesktopArticleTarget-vector.css Fix Vector wikitext surface padding overrides when using custom browser font-size 2019-09-18 22:24:47 +02:00
ve.init.mw.DesktopArticleTarget.css stylelint: Enforce class name pattern 2019-01-13 15:14:53 +00:00
ve.init.mw.DesktopArticleTarget.init-apextheme.css DesktopArticleTarget: Make the progress bar into a reusable widget 2019-02-06 22:20:37 +01:00
ve.init.mw.DesktopArticleTarget.init-minerva.css ve.init.mw.DesktopArticleTarget.init: Update for Minerva changes again 2019-08-30 21:40:40 +00:00
ve.init.mw.DesktopArticleTarget.init-vector.css doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.init.mw.DesktopArticleTarget.init-wikimediatheme.css DesktopArticleTarget: Make the progress bar into a reusable widget 2019-02-06 22:20:37 +01:00
ve.init.mw.DesktopArticleTarget.init.css Fix cursor on #firstHeading 2019-03-28 21:02:03 +01:00
ve.init.mw.DesktopArticleTarget.noscript.css doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.init.mw.DesktopTarget-monobook.css Apply active external link fix to all skins 2019-06-18 15:23:10 +01:00
ve.init.mw.DesktopTarget-vector.css Apply active external link fix to all skins 2019-06-18 15:23:10 +01:00
ve.init.mw.DiffPage.less doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.init.mw.MobileArticleTarget.less Delete mobile toolbar flexbox code, upstreamed to VE core 2019-09-03 17:30:19 +00:00
ve.init.mw.ProgressBarWidget-apextheme.css ve.init.mw.ProgressBarWidget: Remove 'filter' property for IE 8 & 9 2019-02-15 17:45:22 +01:00
ve.init.mw.ProgressBarWidget-wikimediatheme.css DesktopArticleTarget: Make the progress bar into a reusable widget 2019-02-06 22:20:37 +01:00
ve.init.mw.ProgressBarWidget.css DesktopArticleTarget: Make the progress bar into a reusable widget 2019-02-06 22:20:37 +01:00
ve.init.mw.Target.css Prevent text on save/publish button from wrapping on mobile 2019-06-20 20:29:52 +02:00
ve.init.mw.TempWikitextEditorWidget.less rootNode/documentNode -> attachedRootNode 2019-02-13 19:03:36 +00:00
ve.init.MWVESwitchConfirmDialog-monobook.css stylelint: Enforce class name pattern 2019-01-13 15:14:53 +00:00
ve.init.MWVESwitchConfirmDialog.css doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.init.MWVESwitchPopupWidget.css doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00