From df02f1fb9fe2253ff785407802b18d638dd58c16 Mon Sep 17 00:00:00 2001 From: drake Date: Thu, 24 Feb 2022 17:38:30 +0800 Subject: [PATCH] fixed #64 Add H2 line height --- drake-ayu.css | 1 + drake-black.css | 1 + drake-dark.css | 1 + drake-google.css | 1 + drake-juejin.css | 1 + drake-light.css | 1 + drake-material.css | 1 + drake-purple.css | 1 + drake-vue.css | 1 + drake.css | 1 + 10 files changed, 10 insertions(+) diff --git a/drake-ayu.css b/drake-ayu.css index 322499a..9f84d43 100644 --- a/drake-ayu.css +++ b/drake-ayu.css @@ -333,6 +333,7 @@ h1 { h2 .md-plain { padding-bottom: .3rem; border-bottom: .2rem solid var(--h2-underline-color); + line-height: 3rem; } .on-focus-mode h2.md-end-block.md-heading:not(.md-focus):not(.md-focus-container):after { diff --git a/drake-black.css b/drake-black.css index 375157c..f992470 100644 --- a/drake-black.css +++ b/drake-black.css @@ -333,6 +333,7 @@ h1 { h2 .md-plain { padding-bottom: .3rem; border-bottom: .2rem solid var(--h2-underline-color); + line-height: 3rem; } .on-focus-mode h2.md-end-block.md-heading:not(.md-focus):not(.md-focus-container):after { diff --git a/drake-dark.css b/drake-dark.css index 4724d6b..a8670ff 100644 --- a/drake-dark.css +++ b/drake-dark.css @@ -333,6 +333,7 @@ h1 { h2 .md-plain { padding-bottom: .3rem; border-bottom: .2rem solid var(--h2-underline-color); + line-height: 3rem; } .on-focus-mode h2.md-end-block.md-heading:not(.md-focus):not(.md-focus-container):after { diff --git a/drake-google.css b/drake-google.css index 78d4e00..485c2c9 100644 --- a/drake-google.css +++ b/drake-google.css @@ -323,6 +323,7 @@ h1 { h2 .md-plain { padding-bottom: .3rem; border-bottom: .2rem solid var(--h2-underline-color); + line-height: 3rem; } .on-focus-mode h2.md-end-block.md-heading:not(.md-focus):not(.md-focus-container):after { diff --git a/drake-juejin.css b/drake-juejin.css index 24d5f66..0a4b820 100644 --- a/drake-juejin.css +++ b/drake-juejin.css @@ -343,6 +343,7 @@ h1 { h2 .md-plain { padding-bottom: .3rem; border-bottom: .2rem solid var(--h2-underline-color); + line-height: 3rem; } .on-focus-mode h2.md-end-block.md-heading:not(.md-focus):not(.md-focus-container):after { diff --git a/drake-light.css b/drake-light.css index f83db15..7aa48d6 100644 --- a/drake-light.css +++ b/drake-light.css @@ -325,6 +325,7 @@ h1 { h2 .md-plain { padding-bottom: .3rem; border-bottom: .2rem solid var(--h2-underline-color); + line-height: 3rem; } .on-focus-mode h2.md-end-block.md-heading:not(.md-focus):not(.md-focus-container):after { diff --git a/drake-material.css b/drake-material.css index b4af79a..498512c 100644 --- a/drake-material.css +++ b/drake-material.css @@ -333,6 +333,7 @@ h1 { h2 .md-plain { padding-bottom: .3rem; border-bottom: .2rem solid var(--h2-underline-color); + line-height: 3rem; } .on-focus-mode h2.md-end-block.md-heading:not(.md-focus):not(.md-focus-container):after { diff --git a/drake-purple.css b/drake-purple.css index fcb8660..c384f11 100644 --- a/drake-purple.css +++ b/drake-purple.css @@ -333,6 +333,7 @@ h1 { h2 .md-plain { padding-bottom: .3rem; border-bottom: .2rem solid var(--h2-underline-color); + line-height: 3rem; } .on-focus-mode h2.md-end-block.md-heading:not(.md-focus):not(.md-focus-container):after { diff --git a/drake-vue.css b/drake-vue.css index d1c8dad..0c5b036 100644 --- a/drake-vue.css +++ b/drake-vue.css @@ -325,6 +325,7 @@ h1 { h2 .md-plain { padding-bottom: .3rem; border-bottom: .2rem solid var(--h2-underline-color); + line-height: 3rem; } .on-focus-mode h2.md-end-block.md-heading:not(.md-focus):not(.md-focus-container):after { diff --git a/drake.css b/drake.css index d0a79d8..1fbe8ef 100644 --- a/drake.css +++ b/drake.css @@ -330,6 +330,7 @@ h1 { h2 .md-plain { padding-bottom: .3rem; border-bottom: .2rem solid var(--h2-underline-color); + line-height: 3rem; } .on-focus-mode h2.md-end-block.md-heading:not(.md-focus):not(.md-focus-container):after {