summaryrefslogtreecommitdiffstats
path: root/assets/css/main/comment.css
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2020-07-11 09:53:14 +0800
committerBigCoke233 <hi@guhub.cn>2020-07-11 09:53:14 +0800
commitbe75f1ab97dbc96923c50d13b08e89e26708ba99 (patch)
tree70b79753869568b16f9fcc6b75f2c5607665c062 /assets/css/main/comment.css
parent4817b6ffa38af8b269e4ad91591d70c032dd8e5d (diff)
:zap: Perf: 用 css 实现锚链接平滑滚动,舍弃 js 控制 #62
Diffstat (limited to 'assets/css/main/comment.css')
-rw-r--r--assets/css/main/comment.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/assets/css/main/comment.css b/assets/css/main/comment.css
index 1008f16..16242ff 100644
--- a/assets/css/main/comment.css
+++ b/assets/css/main/comment.css
@@ -94,6 +94,7 @@
border-radius: 4px;
min-width: 10px!important;
margin-left: 25px;
+ scroll-margin-top: 5em
}
.bubble.comment-content:before {
border-right-color: rgb(238,238,238);