From 6100fae45c60550a131ef78676fffc41039919aa Mon Sep 17 00:00:00 2001 From: dario Date: Fri, 5 May 2023 21:49:14 +0200 Subject: [PATCH] added CSS to accommodate larger table of contents in the aside section --- static/css/layout.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/static/css/layout.css b/static/css/layout.css index f70cfd7..06f69e7 100644 --- a/static/css/layout.css +++ b/static/css/layout.css @@ -49,10 +49,9 @@ .page__aside { grid-area: aside; color: var(--off-fg); - position: fixed; - top: 5rem; - width: 15rem; - margin-left: 50rem; + position: sticky; + top: 1rem; + right: 1rem; overflow-y: auto; max-height: 95vh; }