From 68d0798930fb0e60c6db8afd16f5de01b3a7582b Mon Sep 17 00:00:00 2001 From: Andrew Rynhard Date: Sun, 20 Oct 2019 03:36:46 +0000 Subject: [PATCH] docs: make the sidebar sticky Instead of floating the sidebar, we want it to be stick so that the footer doesn't cover the bottom of the sidebar. Signed-off-by: Andrew Rynhard --- docs/website/assets/css/main.css | 4 ---- docs/website/components/Content.vue | 2 +- docs/website/components/Sidebar.vue | 6 ++---- docs/website/pages/docs/_.vue | 6 +++--- 4 files changed, 6 insertions(+), 12 deletions(-) diff --git a/docs/website/assets/css/main.css b/docs/website/assets/css/main.css index 604d8bff2..37cbd36eb 100644 --- a/docs/website/assets/css/main.css +++ b/docs/website/assets/css/main.css @@ -50,10 +50,6 @@ pre[class*='language-'] { @apply font-mono; } -.article-content { - @apply max-w-3xl pt-1 pb-4 pl-6 pr-6 mx-auto; -} - h1, h2, h3, diff --git a/docs/website/components/Content.vue b/docs/website/components/Content.vue index 51322bc20..9fa6f537f 100644 --- a/docs/website/components/Content.vue +++ b/docs/website/components/Content.vue @@ -1,5 +1,5 @@