Skip to content
This repository was archived by the owner on Jan 13, 2026. It is now read-only.

Commit 8d14934

Browse files
authored
Update MarkdownTokens.svelte: Revert text-align for download button in rtl
prevent button overriding because the download button is in absolute position and it doesn't have start/end properties
1 parent d26569f commit 8d14934

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/components/chat/Messages/Markdown/MarkdownTokens.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
class="px-3! py-1.5! cursor-pointer border border-gray-100 dark:border-gray-850"
119119
style={token.align[headerIdx] ? '' : `text-align: ${token.align[headerIdx]}`}
120120
>
121-
<div class="flex flex-col gap-1.5 text-start">
121+
<div class="flex flex-col gap-1.5 text-left">
122122
<div class="shrink-0 break-normal">
123123
<MarkdownInlineTokens
124124
id={`${id}-${tokenIdx}-header-${headerIdx}`}

0 commit comments

Comments
 (0)