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