summaryrefslogtreecommitdiffstats
path: root/polygerrit-ui/app/styles/main.css
diff options
context:
space:
mode:
Diffstat (limited to 'polygerrit-ui/app/styles/main.css')
-rw-r--r--polygerrit-ui/app/styles/main.css7
1 files changed, 6 insertions, 1 deletions
diff --git a/polygerrit-ui/app/styles/main.css b/polygerrit-ui/app/styles/main.css
index 045821c7ad..618a2d7128 100644
--- a/polygerrit-ui/app/styles/main.css
+++ b/polygerrit-ui/app/styles/main.css
@@ -24,6 +24,12 @@ limitations under the License.
html {
-webkit-text-size-adjust: none;
+ /*
+ * Default browser fonts are 16px. We want users with default settings to see
+ * a base font of 13px. 13/16 = .8125. This needs to be in html because
+ * can use rems based on this font-size throughout the app.
+ */
+ font-size: .8125em;
}
html,
body {
@@ -36,7 +42,6 @@ body {
* Work around this using font-size and font-family.
*/
-webkit-text-size-adjust: none;
- font-size: 13px;
font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
line-height: 1.4;
}