From ff1188b4b21b7764f914f6e2e71c197c90ff693d Mon Sep 17 00:00:00 2001 From: Max Richter Date: Sun, 7 Apr 2024 02:56:29 +0200 Subject: [PATCH] feat: style toc simpler --- public/app.css | 1 - src/components/ImageSlider.svelte | 18 ++++++++++-------- src/components/TOC.astro | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/public/app.css b/public/app.css index 9e32668..796ff22 100644 --- a/public/app.css +++ b/public/app.css @@ -11,7 +11,6 @@ h3 { article>h1 { font-size: 28px; - margin-top: 24px; } article>h2 { diff --git a/src/components/ImageSlider.svelte b/src/components/ImageSlider.svelte index bd82029..c2f00d5 100644 --- a/src/components/ImageSlider.svelte +++ b/src/components/ImageSlider.svelte @@ -62,10 +62,12 @@ style={`--height:${height}px`} > {#if title} -
+

{title}

-
+