From 84854aa20192ba5f6267198b68d7b98c5ccdc358 Mon Sep 17 00:00:00 2001 From: Peter Zimon Date: Fri, 2 Sep 2022 16:22:26 +0200 Subject: [PATCH] Fixed Header card letter spacing no refs. - after switching to Inter the letter spacing of header cards were too wide which caused the fake cursor to be blinking inside the placeholder --- ghost/admin/app/styles/components/koenig.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ghost/admin/app/styles/components/koenig.css b/ghost/admin/app/styles/components/koenig.css index b0e12233a4..22c83ec9f3 100644 --- a/ghost/admin/app/styles/components/koenig.css +++ b/ghost/admin/app/styles/components/koenig.css @@ -2171,6 +2171,7 @@ button.emoji-picker__category-button.active { font-size: 5em; font-weight: 700; line-height: 1.1em; + letter-spacing: -0.03em; } .kg-header-card h2 { @@ -2184,6 +2185,7 @@ button.emoji-picker__category-button.active { .kg-header-card.kg-size-small .kg-header-card-header .__mobiledoc-editor.__has-no-content:after, .kg-header-card.kg-size-small h2 { font-size: 4em; + letter-spacing: -0.03em; } .kg-header-card.kg-size-large .kg-header-card-header .__mobiledoc-editor.__has-no-content:after, @@ -2198,6 +2200,7 @@ button.emoji-picker__category-button.active { line-height: 1.4em; margin: 0.35em auto 0 !important; max-width: 40em; + letter-spacing: -0.025em; } .kg-header-card h3 { @@ -2222,6 +2225,7 @@ button.emoji-picker__category-button.active { .kg-header-card.kg-size-large h3 { font-size: 1.75em; line-height: 1.35em; + letter-spacing: -0.03em; } .kg-header-card:not(.kg-style-light) h2,