From 568a93213c1a49ec4f5cbc872bf823235f4df4a1 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 25 Apr 2023 13:10:24 +0100 Subject: [PATCH] strong tag support within Text component * addresses #18651 * taken from #18752 as suggested in https://github.com/MetaMask/metamask-extension/pull/18638#discussion_r1176334805 --- ui/components/app/cancel-speedup-popover/index.scss | 4 ---- ui/components/component-library/text/text.scss | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/components/app/cancel-speedup-popover/index.scss b/ui/components/app/cancel-speedup-popover/index.scss index 62383c12c..4127a7eac 100644 --- a/ui/components/app/cancel-speedup-popover/index.scss +++ b/ui/components/app/cancel-speedup-popover/index.scss @@ -22,9 +22,5 @@ &__description { border-bottom: 1px solid var(--color-border-default); - - strong { - font-weight: var(--font-weight-bold); - } } } diff --git a/ui/components/component-library/text/text.scss b/ui/components/component-library/text/text.scss index b6331d7e3..f7472d370 100644 --- a/ui/components/component-library/text/text.scss +++ b/ui/components/component-library/text/text.scss @@ -59,6 +59,10 @@ $text-variants: ( @else { font-weight: $weight; } + + strong { + font-weight: var(--font-weight-bold); + } } }