From e9269aadb8170bd1102bb49cf6ba7c0a957a5be3 Mon Sep 17 00:00:00 2001 From: Junyi Hou Date: Mon, 4 Mar 2024 19:44:29 +0800 Subject: [PATCH] fix bug --- assets/css/main.css | 6 +++--- layouts/partials/toc.html | 20 +++++++++++--------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/assets/css/main.css b/assets/css/main.css index bae2708..ef6683c 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -76,7 +76,7 @@ main { /* Table of Contents */ .toc { - /* cursor: zoom-in; */ + cursor: zoom-in; display: block; margin-top: 1em; @@ -90,10 +90,10 @@ main { font-size: 14px; font-weight: bold; } -/* + .toc.expanded { cursor: zoom-out; -} */ +} .toc .inner { margin: 0px; diff --git a/layouts/partials/toc.html b/layouts/partials/toc.html index ee90aee..d69fa77 100644 --- a/layouts/partials/toc.html +++ b/layouts/partials/toc.html @@ -5,15 +5,17 @@ {{ end }} - +