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
This commit is contained in:
Peter Zimon 2022-09-02 16:22:26 +02:00
parent 8c91f7b7d4
commit 84854aa201

View File

@ -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,