From f1387092e8e58270ecbceb724b8e5c23539bbe9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Thu, 11 Aug 2022 22:22:50 +0200 Subject: [PATCH] Don't use line-height to set verified text margin Using line-height is confusing and has unexpected results when texts span over multiple lines, as might be the case in some language and screen resolution combinations. --- app/assets/stylesheets/account/verify-account.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/account/verify-account.scss b/app/assets/stylesheets/account/verify-account.scss index c95b27a38..2ba30afe7 100644 --- a/app/assets/stylesheets/account/verify-account.scss +++ b/app/assets/stylesheets/account/verify-account.scss @@ -4,7 +4,7 @@ .already-verified { @include has-fa-icon(check, solid); color: $color-success; - line-height: $line-height * 2; + margin-top: $line-height; &::before { color: $check;