From 493a34b1fa9ad7a992e9721d148b0e9a4ff732f6 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sun, 18 Feb 2024 13:21:53 +0800 Subject: [PATCH] [opt] scroll --- source/css/_layout/tag-plugins/tabs.styl | 2 -- source/css/_plugins/katex.styl | 8 +++++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/source/css/_layout/tag-plugins/tabs.styl b/source/css/_layout/tag-plugins/tabs.styl index 576b383..47be1cb 100644 --- a/source/css/_layout/tag-plugins/tabs.styl +++ b/source/css/_layout/tag-plugins/tabs.styl @@ -75,8 +75,6 @@ max-width: 100% text-align: justify margin-top: .5rem - overflow: scroll - scrollbar(0,0) .tab-pane &:not(.active) display: none diff --git a/source/css/_plugins/katex.styl b/source/css/_plugins/katex.styl index b8e6837..8524771 100644 --- a/source/css/_plugins/katex.styl +++ b/source/css/_plugins/katex.styl @@ -1,3 +1,5 @@ -.md-text p.katex-block - overflow: auto - scrollbar(0, 0) \ No newline at end of file +.md-text + p.katex-block + .katex-display + overflow: scroll + scrollbar(0, 0)