From 93c609b11758599e151579847b44c26e64f4d7d4 Mon Sep 17 00:00:00 2001 From: Ariella Vu <20778143+digiwand@users.noreply.github.com> Date: Tue, 13 Sep 2022 09:30:41 -0700 Subject: [PATCH] Update reset.scss to revive element font-weight (#15784) * reset.scss: add comment * reset.scss: revive element font-weight * scss: rm unused b {} style * scss: rm .text b style Co-authored-by: ryanml --- .../app/flask/experimental-area/index.scss | 4 ---- .../app/transaction-activity-log/index.scss | 4 ---- ui/css/reset.scss | 15 ++++++++++++++- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/ui/components/app/flask/experimental-area/index.scss b/ui/components/app/flask/experimental-area/index.scss index 44a348240..34b4f84a5 100644 --- a/ui/components/app/flask/experimental-area/index.scss +++ b/ui/components/app/flask/experimental-area/index.scss @@ -28,10 +28,6 @@ padding: 16px; max-width: 670px; - - b { - font-weight: bold; - } } ul { diff --git a/ui/components/app/transaction-activity-log/index.scss b/ui/components/app/transaction-activity-log/index.scss index caa925d4c..e5544829c 100644 --- a/ui/components/app/transaction-activity-log/index.scss +++ b/ui/components/app/transaction-activity-log/index.scss @@ -79,8 +79,4 @@ cursor: pointer; color: var(--color-primary-default); } - - b { - font-weight: 500; - } } diff --git a/ui/css/reset.scss b/ui/css/reset.scss index 9ee5607cf..1328440dd 100644 --- a/ui/css/reset.scss +++ b/ui/css/reset.scss @@ -1,6 +1,8 @@ /* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) + + ⚠️ This file has been updated from the original copy. ⚠️ */ html, @@ -42,7 +44,6 @@ sub, sup, tt, var, -b, u, i, center, @@ -96,6 +97,18 @@ video { vertical-align: baseline; } +b { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font-style: inherit; + font-variant: inherit; + font-size: inherit; + line-height: inherit; + vertical-align: baseline; +} + /* HTML5 display-role reset for older browsers */ /* stylelint-disable */