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
This commit is contained in:
Elkana Bardugo 2025-02-17 22:43:34 +02:00 committed by GitHub
parent d26569f636
commit 8d149348a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -118,7 +118,7 @@
class="px-3! py-1.5! cursor-pointer border border-gray-100 dark:border-gray-850"
style={token.align[headerIdx] ? '' : `text-align: ${token.align[headerIdx]}`}
>
<div class="flex flex-col gap-1.5 text-start">
<div class="flex flex-col gap-1.5 text-left">
<div class="shrink-0 break-normal">
<MarkdownInlineTokens
id={`${id}-${tokenIdx}-header-${headerIdx}`}