From 3746abc64081d2a687d8c6257728b9e98436ed22 Mon Sep 17 00:00:00 2001 From: Jessica Lawshe <5312836+lawshe@users.noreply.github.com> Date: Mon, 16 Sep 2024 10:04:48 -0500 Subject: [PATCH] Merge pull request #20346 from overleaf/jel-font-bs5 [web] Copy text rendering CSS from BS3 for BS5 GitOrigin-RevId: a07fdc70aa0da6096f349c61ea6d74546724844a --- .../frontend/stylesheets/bootstrap-5/base/typography.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/services/web/frontend/stylesheets/bootstrap-5/base/typography.scss b/services/web/frontend/stylesheets/bootstrap-5/base/typography.scss index c2f2c2aeca..62bdd039d1 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/base/typography.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/base/typography.scss @@ -1,4 +1,10 @@ -// Headings +// Typography + +body { + -webkit-font-smoothing: antialiased; + text-rendering: optimizeLegibility; /* stylelint-disable-line value-keyword-case */ + -moz-osx-font-smoothing: grayscale; +} // Headings h1,