From 202fdf1ec17235cae6bb46c0301cf5eafbc1e252 Mon Sep 17 00:00:00 2001 From: f0x Date: Sun, 28 Jul 2024 23:17:24 +0200 Subject: [PATCH] align toc sidebar properly --- web/source/css/layout/page.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/source/css/layout/page.css b/web/source/css/layout/page.css index b09bd985b..3d274aedc 100644 --- a/web/source/css/layout/page.css +++ b/web/source/css/layout/page.css @@ -89,11 +89,17 @@ grid-template-columns: 1fr min(92%, 50rem); .sidebar { + display: inline-block; align-self: start; + justify-self: end; position: sticky; top: 0; padding: 0 1.5rem; + ol { + margin-top: 0; + } + h2 { margin-top: 1.5rem; }