Skip to content

Commit

Permalink
🐛 increase sidebar toc z index above explorer chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
ikesau committed Oct 29, 2023
1 parent f034924 commit 1b41a96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions baker/SiteBaker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
3 changes: 2 additions & 1 deletion site/gdocs/centered-article.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1b41a96

Please sign in to comment.