From 7ba3087a00c02dab82e2b582b73b4c59478f4bd9 Mon Sep 17 00:00:00 2001 From: Albina Starykova Date: Mon, 15 Jul 2024 17:25:16 +0200 Subject: [PATCH] Content checks design fine-tunes --- client/scss/components/_a11y-result.scss | 5 ++++- .../templates/wagtailadmin/shared/side_panels/checks.html | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/client/scss/components/_a11y-result.scss b/client/scss/components/_a11y-result.scss index 84a62e28e740..a76488b17e6e 100644 --- a/client/scss/components/_a11y-result.scss +++ b/client/scss/components/_a11y-result.scss @@ -76,7 +76,6 @@ background-color: theme('colors.positive.100'); border-radius: theme('borderRadius.full'); font-size: theme('fontSize.11'); - line-height: theme('lineHeight.none'); height: theme('spacing.4'); width: theme('spacing.4'); color: theme('colors.text-button'); @@ -88,4 +87,8 @@ @media (forced-colors: active) { border: theme('spacing.px') solid ButtonText; } + + .w-userbar & { + line-height: theme('lineHeight.none'); + } } diff --git a/wagtail/admin/templates/wagtailadmin/shared/side_panels/checks.html b/wagtail/admin/templates/wagtailadmin/shared/side_panels/checks.html index 55ac1895dc1c..caacf1233a89 100644 --- a/wagtail/admin/templates/wagtailadmin/shared/side_panels/checks.html +++ b/wagtail/admin/templates/wagtailadmin/shared/side_panels/checks.html @@ -35,7 +35,7 @@

{% trans 'Reading time' %}< -
+

{% trans 'Issues found' %}0