mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
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:
@@ -118,7 +118,7 @@
|
|||||||
class="px-3! py-1.5! cursor-pointer border border-gray-100 dark:border-gray-850"
|
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]}`}
|
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">
|
<div class="shrink-0 break-normal">
|
||||||
<MarkdownInlineTokens
|
<MarkdownInlineTokens
|
||||||
id={`${id}-${tokenIdx}-header-${headerIdx}`}
|
id={`${id}-${tokenIdx}-header-${headerIdx}`}
|
||||||
|
|||||||
Reference in New Issue
Block a user