mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-12 01:54:38 -05:00
refac/fix: rtl support
Co-Authored-By: lif <19658300+majiayu000@users.noreply.github.com>
This commit is contained in:
@@ -628,7 +628,7 @@ input[type='number'] {
|
||||
|
||||
/* Table styling for tiptap editors */
|
||||
.tiptap table {
|
||||
@apply w-full text-sm text-left text-gray-500 dark:text-gray-400 max-w-full;
|
||||
@apply w-full text-sm text-start text-gray-500 dark:text-gray-400 max-w-full;
|
||||
}
|
||||
|
||||
.tiptap thead {
|
||||
@@ -641,7 +641,7 @@ input[type='number'] {
|
||||
}
|
||||
|
||||
.tiptap th {
|
||||
@apply cursor-pointer text-left text-xs text-gray-700 dark:text-gray-400 font-semibold uppercase bg-gray-50 dark:bg-gray-850;
|
||||
@apply cursor-pointer text-start text-xs text-gray-700 dark:text-gray-400 font-semibold uppercase bg-gray-50 dark:bg-gray-850;
|
||||
}
|
||||
|
||||
.tiptap td {
|
||||
|
||||
@@ -750,7 +750,7 @@
|
||||
})
|
||||
]
|
||||
: []),
|
||||
...(richText && showFormattingToolbar
|
||||
...(richText && showFormattingToolbar
|
||||
? [
|
||||
BubbleMenu.configure({
|
||||
element: bubbleMenuElement,
|
||||
@@ -1179,5 +1179,6 @@
|
||||
|
||||
<div
|
||||
bind:this={element}
|
||||
dir="auto"
|
||||
class="relative w-full min-w-full {className} {!editable ? 'cursor-not-allowed' : ''}"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user