From 1b41a969a955d15414872b7a0e5e357912f68508 Mon Sep 17 00:00:00 2001 From: Ike Saunders Date: Sun, 29 Oct 2023 15:35:26 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20increase=20sidebar=20toc=20z=20i?= =?UTF-8?q?ndex=20above=20explorer=20chrome?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- baker/SiteBaker.tsx | 1 + site/gdocs/centered-article.scss | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/baker/SiteBaker.tsx b/baker/SiteBaker.tsx index 9fb72acd358..09eaf0b94be 100644 --- a/baker/SiteBaker.tsx +++ b/baker/SiteBaker.tsx @@ -316,6 +316,7 @@ export class SiteBaker { // Bake all GDoc posts async bakeGDocPosts() { + await db.getConnection() if (!this.bakeSteps.has("gdocPosts")) return const publishedGdocs = await Gdoc.getPublishedGdocs() diff --git a/site/gdocs/centered-article.scss b/site/gdocs/centered-article.scss index c5fa983e20c..d46d2efcd2a 100644 --- a/site/gdocs/centered-article.scss +++ b/site/gdocs/centered-article.scss @@ -27,7 +27,8 @@ .toc-wrapper { position: sticky; top: 0; - z-index: 2; + // Above explorer chrome + z-index: 3; margin-top: -48px; .entry-sidebar { height: 100vh;