From c8521820faa26de27da1edc4e0e451682f5afb37 Mon Sep 17 00:00:00 2001 From: Jessica Lawshe Date: Thu, 2 Dec 2021 09:19:04 -0600 Subject: [PATCH] Merge pull request #5994 from overleaf/ta-beta-badge-font-size Enforce Beta & Info Badges Font Size GitOrigin-RevId: 679e5c0ee90f541be003891e85074212961f1571 --- .../web/frontend/stylesheets/components/beta-badges.less | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/services/web/frontend/stylesheets/components/beta-badges.less b/services/web/frontend/stylesheets/components/beta-badges.less index f3b2578828..329b3b6c54 100644 --- a/services/web/frontend/stylesheets/components/beta-badges.less +++ b/services/web/frontend/stylesheets/components/beta-badges.less @@ -3,10 +3,16 @@ display: inline-block; width: @line-height-computed * 0.75; height: @line-height-computed * 0.75; - line-height: @line-height-computed * 0.75; + line-height: @font-size-small; + font-size: @line-height-computed * 0.75; text-align: center; color: #fff; + &::before { + line-height: @font-size-small; + font-size: @font-size-small; + } + &:hover, &:focus { color: #fff;