浏览代码

refac: styling

Timothy Jaeryang Baek 4 月之前
父节点
当前提交
31a97d8fec
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      src/lib/components/chat/MessageInput.svelte

+ 5 - 1
src/lib/components/chat/MessageInput.svelte

@@ -335,7 +335,11 @@
 {#if loaded}
 {#if loaded}
 	<div class="w-full font-primary">
 	<div class="w-full font-primary">
 		<div class=" mx-auto inset-x-0 bg-transparent flex justify-center">
 		<div class=" mx-auto inset-x-0 bg-transparent flex justify-center">
-			<div class="flex flex-col px-3 max-w-6xl w-full">
+			<div
+				class="flex flex-col px-3 {($settings?.widescreenMode ?? null)
+					? 'max-w-full'
+					: 'max-w-6xl'} w-full"
+			>
 				<div class="relative">
 				<div class="relative">
 					{#if autoScroll === false && history?.currentId}
 					{#if autoScroll === false && history?.currentId}
 						<div
 						<div