From f89904f7bf3930b0b6aed9849c3f2b6907901cad Mon Sep 17 00:00:00 2001 From: seaHi Date: Sat, 12 Sep 2026 08:35:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=BD=AE=E6=92=AD?= =?UTF-8?q?=E5=9B=BE=E5=B7=A5=E5=85=B7=E6=A0=8F=E7=BB=9D=E5=AF=B9=E5=AE=9A?= =?UTF-8?q?=E4=BD=8D=E8=A6=86=E7=9B=96=E5=9B=BE=E7=89=87=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/components/MarkdownRenderer.svelte | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/components/MarkdownRenderer.svelte b/src/lib/components/MarkdownRenderer.svelte index 0ac70c5..b40b616 100644 --- a/src/lib/components/MarkdownRenderer.svelte +++ b/src/lib/components/MarkdownRenderer.svelte @@ -379,6 +379,11 @@ // 这里用官方变量 --f-carousel-slide-padding 补上上下内边距。 mainStyle: { '--f-carousel-slide-padding': '24px 0' }, Carousel: { + Toolbar: { + // 默认是 true(绝对定位浮层,会压住图片顶部); + // 设为 false 后工具栏独占顶部一行,图片从工具栏下方开始,不再重叠。 + absolute: false + }, Thumbs: { // 'scrollable' 让缩略图成为竖向侧边导航(库默认放在左侧,会自动加 .has-vertical-thumbs)。 type: 'scrollable',