From fb59fcb5259743742a69c239907cb8331a5107a3 Mon Sep 17 00:00:00 2001 From: HouTeng Chan <ht-chen21@mails.tsinghua.edu.cn> Date: Tue, 24 Sep 2024 05:01:58 +0000 Subject: [PATCH] Update file layout.html --- wiki/layout.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wiki/layout.html b/wiki/layout.html index abe7e62d..64611992 100644 --- a/wiki/layout.html +++ b/wiki/layout.html @@ -64,14 +64,14 @@ .sidebar { position: fixed; left: 5px; - top: 50px; + top: 100px; width: 160px; - height: 100vh; /* Set a fixed height using viewport height */ - + height: 80vh; /* Set a fixed height using viewport height */ + max-height: 500px; /* Set a maximum height if needed */ background-color: #ffffff; padding: 20px; box-shadow: 2px 0 5px rgba(0,0,0,0.1); - border-radius: 0px; + border-radius: 20px; overflow-y: auto; /* Enable vertical scrolling if content exceeds height */ } .sidebar ul { -- GitLab