From 658a8a0ee94cea72d23ede00b4559da49db14439 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 5ac6267..ac56e89 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 fa93b65..4d6c3ea 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 4620694..3f7d816 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 0742b29..9d5ce8a 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 291cfd5..7677980 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 aa29719..6933a44 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 986159f..9115e64 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 0ec1cce..3955a38 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 8e11977..924a336 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 72af01c..d53aa0a 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 {