Change font-size unit from px to em

The convention to avoid px in font-size and use em instead was
added to Wikimedia coding conventions was added in December 2020:
https://www.mediawiki.org/wiki/Manual:Coding_conventions/CSS#Don't_rely_on_px_unit_based_values

Now it's also enforced using stylelint.

This commit changes all CSS font-size values that were still in px
to em units.
This commit is contained in:
Amir E. Aharoni
2022-01-24 11:19:29 +02:00
parent 9ba03170b1
commit f91700b77b
3 changed files with 5 additions and 5 deletions

View File

@@ -76,7 +76,7 @@
/* There are two input boxes. This class applies to both of them */
.uls-filterinput {
font-size: 16px;
font-size: 1.2em;
height: 32px;
width: 100%;
/* For the custom clear (X) icon */