From 3bbed7be330a581d1ddf15c5283aac2864c66620 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sat, 29 Aug 2020 08:32:40 -0400 Subject: [PATCH] Do not use `letter-spacing` for non-bolded text Related feedback: - https://github.com/uBlockOrigin/uBlock-issues/issues/1044#issuecomment-682920219 --- src/css/common.css | 2 +- src/css/dashboard.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/css/common.css b/src/css/common.css index f1c26292e..4a4ef2633 100644 --- a/src/css/common.css +++ b/src/css/common.css @@ -98,7 +98,6 @@ button { fill: var(--button-ink); font-size: 14px; justify-content: center; - letter-spacing: 0.5px; min-height: 36px; padding: 0 var(--font-size); vertical-align: middle; @@ -276,6 +275,7 @@ select { :root.hidpi button { font-family: Metropolis, sans-serif; font-weight: 600; + letter-spacing: 0.5px; } :root.hidpi .fieldset-header { font-family: Metropolis, sans-serif; diff --git a/src/css/dashboard.css b/src/css/dashboard.css index a3672077f..136a2035e 100644 --- a/src/css/dashboard.css +++ b/src/css/dashboard.css @@ -36,7 +36,6 @@ html, body { border-top: 3px solid transparent; color: var(--dashboard-tab-ink); fill: var(--dashboard-tab-ink); - letter-spacing: 0.5px; padding: 0.5em 1.4em calc(0.5em - 3px); text-decoration: none; user-select: none; @@ -87,6 +86,7 @@ body:not(.canUpdateShortcuts) .tabButton[data-pane="shortcuts.html"] { :root.hidpi .tabButton { font-family: Metropolis, sans-serif; font-weight: 600; + letter-spacing: 0.5px; } /* hover-able devices */