diff --git a/quartz.layout.ts b/quartz.layout.ts index 921c1a2c5..31d715701 100644 --- a/quartz.layout.ts +++ b/quartz.layout.ts @@ -44,12 +44,13 @@ export const defaultContentPageLayout: PageLayout = { }, } )), - // Component.DesktopOnly(Component.TableOfContents()), + Component.DesktopOnly(Component.TableOfContents()), // Component.RecentNotes(), ], right: [ Component.Graph(), - Component.DesktopOnly(Component.TableOfContents()), + // Component.DesktopOnly(Component.Backlinks()), + // Component.MobileOnly(Component.Backlinks()), Component.Backlinks(), ], } diff --git a/quartz/styles/custom.scss b/quartz/styles/custom.scss index 989aba406..1268fc732 100644 --- a/quartz/styles/custom.scss +++ b/quartz/styles/custom.scss @@ -7,9 +7,5 @@ } .graph { - margin-bottom: 3rem; -} - -.backlinks { - top: -5rem; + padding-bottom: 3rem; } diff --git a/quartz/styles/variables.scss b/quartz/styles/variables.scss index 01c2dc2c5..86f654160 100644 --- a/quartz/styles/variables.scss +++ b/quartz/styles/variables.scss @@ -2,5 +2,5 @@ $pageWidth: 750px; $mobileBreakpoint: 600px; $tabletBreakpoint: 1200px; $sidePanelWidth: 380px; -$topSpacing: 2rem; // 6rem +$topSpacing: 4rem; // 6rem $fullPageWidth: $pageWidth + 2 * $sidePanelWidth;