From 7d74cbdafe6745990df94362a72af6b0b25c7ec9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BA=B8=E9=B9=BF/Zhilu?= Date: Mon, 5 Feb 2024 19:49:33 +0800 Subject: [PATCH] [fix] l_right & toc (#384) --- source/css/_layout/layout.styl | 2 +- source/css/_layout/widgets/toc.styl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/css/_layout/layout.styl b/source/css/_layout/layout.styl index c2b0b63..c614ab3 100644 --- a/source/css/_layout/layout.styl +++ b/source/css/_layout/layout.styl @@ -34,7 +34,7 @@ box-shadow: $boxshadow-card-float z-index: 10 background: var(--site-bg) - overflow: scroll + overflow: auto .l_body[rightbar] .l_right transform: translateX(0px) diff --git a/source/css/_layout/widgets/toc.styl b/source/css/_layout/widgets/toc.styl index afce445..b8c4e86 100644 --- a/source/css/_layout/widgets/toc.styl +++ b/source/css/_layout/widgets/toc.styl @@ -52,7 +52,7 @@ max-height: 75vh @media screen and (max-width: $device-laptop) max-height: unset - overflow: scroll + overflow: auto