浏览代码

FIX: Auto RTL-LTR text orientation

FIX: Auto RTL-LTR text orientation

 This tag was a `<div>` and changed by `<li>` in commit https://github.com/open-webui/open-webui/commit/bb6864dd127e8bc0b0467dfb9eb87f460acecfa8#r164667886
& this change broke the previous behavior of auto text orientation.
_00_ 1 月之前
父节点
当前提交
ddc88d615c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/lib/components/chat/Messages/Message.svelte

+ 2 - 2
src/lib/components/chat/Messages/Message.svelte

@@ -44,7 +44,7 @@
 	export let topPadding = false;
 </script>
 
-<li
+<div
 	class="flex flex-col justify-between px-5 mb-3 w-full {($settings?.widescreenMode ?? null)
 		? 'max-w-full'
 		: 'max-w-5xl'} mx-auto rounded-lg group"
@@ -120,4 +120,4 @@
 			/>
 		{/if}
 	{/if}
-</li>
+</div>