From b82af03497f115e8015c60a5de039442468e4970 Mon Sep 17 00:00:00 2001 From: sunface Date: Thu, 24 Mar 2022 21:08:35 +0800 Subject: [PATCH] =?UTF-8?q?update=20css=20styles=EF=BC=8Cfix=20a=20bug=20w?= =?UTF-8?q?here=20the=20page=20toc=20cannot=20be=20clicked=20due=20to=20ma?= =?UTF-8?q?sk=20layer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/theme/style.css | 6 ++++++ zh-CN/theme/style.css | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/en/theme/style.css b/en/theme/style.css index f1879d3..9544465 100644 --- a/en/theme/style.css +++ b/en/theme/style.css @@ -21,6 +21,7 @@ width: 200px; height: calc(100vh - var(--menu-bar-height) - 0.67em * 4); overflow: auto; + z-index: 1000; } .pagetoc a { border-left: 1px solid var(--sidebar-bg); @@ -62,4 +63,9 @@ /* 修改滚动条宽度 */ ::-webkit-scrollbar { width: 7px; +} + +/* 表格靠左对齐 */ +table { + margin-left: 0 !important; } \ No newline at end of file diff --git a/zh-CN/theme/style.css b/zh-CN/theme/style.css index f1879d3..9544465 100644 --- a/zh-CN/theme/style.css +++ b/zh-CN/theme/style.css @@ -21,6 +21,7 @@ width: 200px; height: calc(100vh - var(--menu-bar-height) - 0.67em * 4); overflow: auto; + z-index: 1000; } .pagetoc a { border-left: 1px solid var(--sidebar-bg); @@ -62,4 +63,9 @@ /* 修改滚动条宽度 */ ::-webkit-scrollbar { width: 7px; +} + +/* 表格靠左对齐 */ +table { + margin-left: 0 !important; } \ No newline at end of file