refac
This commit is contained in:
1 parent
e96b6464b4
commit
e8bdbd716b
2 files changed
+3
-3
No files matched your search
@@ -1860,7 +1860,7 @@
|
|||||||
? 'border-dashed border-gray-100 dark:border-gray-800 hover:border-gray-200 focus-within:border-gray-200 hover:dark:border-gray-700 focus-within:dark:border-gray-700'
|
? 'border-dashed border-gray-100 dark:border-gray-800 hover:border-gray-200 focus-within:border-gray-200 hover:dark:border-gray-700 focus-within:dark:border-gray-700'
|
||||||
: ' border-gray-100/30 dark:border-gray-850/30 hover:border-gray-200 focus-within:border-gray-100 hover:dark:border-gray-800 focus-within:dark:border-gray-800'} {($settings?.highContrastMode ??
|
: ' border-gray-100/30 dark:border-gray-850/30 hover:border-gray-200 focus-within:border-gray-100 hover:dark:border-gray-800 focus-within:dark:border-gray-800'} {($settings?.highContrastMode ??
|
||||||
false)
|
false)
|
||||||
? 'focus-within:outline focus-within:outline-2 focus-within:-outline-offset-2 focus-within:outline-blue-500'
|
? 'focus-within:outline focus-within:outline-2 focus-within:-outline-offset-2 focus-within:outline-blue-500 [&_.ProseMirror:focus-visible]:outline-none!'
|
||||||
: ''} transition px-0.5 bg-white/5 dark:bg-gray-500/5 backdrop-blur-sm dark:text-gray-100"
|
: ''} transition px-0.5 bg-white/5 dark:bg-gray-500/5 backdrop-blur-sm dark:text-gray-100"
|
||||||
dir={$settings?.chatDirection ?? 'auto'}
|
dir={$settings?.chatDirection ?? 'auto'}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -272,7 +272,7 @@
|
|||||||
{#if di.type === 'message'}
|
{#if di.type === 'message'}
|
||||||
<textarea
|
<textarea
|
||||||
use:fitContent
|
use:fitContent
|
||||||
class="w-full bg-transparent outline-hidden resize-none overflow-hidden text-[0.9375rem] p-1.5 rounded-lg"
|
class="w-full bg-transparent outline-hidden focus-visible:outline-none! resize-none overflow-hidden text-[0.9375rem] p-1.5 rounded-lg"
|
||||||
value={getMessageText(di.item)}
|
value={getMessageText(di.item)}
|
||||||
on:input={(e) => {
|
on:input={(e) => {
|
||||||
updateMessageText(di.indices[0], e.target.value);
|
updateMessageText(di.indices[0], e.target.value);
|
||||||
@@ -284,7 +284,7 @@
|
|||||||
{:else if di.type === 'reasoning'}
|
{:else if di.type === 'reasoning'}
|
||||||
<textarea
|
<textarea
|
||||||
use:fitContent
|
use:fitContent
|
||||||
class="w-full bg-transparent outline-hidden resize-none overflow-hidden text-[0.9375rem] text-gray-500 dark:text-gray-400 p-1.5 rounded-lg"
|
class="w-full bg-transparent outline-hidden focus-visible:outline-none! resize-none overflow-hidden text-[0.9375rem] text-gray-500 dark:text-gray-400 p-1.5 rounded-lg"
|
||||||
value={getReasoningText(di.item)}
|
value={getReasoningText(di.item)}
|
||||||
on:input={(e) => {
|
on:input={(e) => {
|
||||||
updateReasoningText(di.indices[0], e.target.value);
|
updateReasoningText(di.indices[0], e.target.value);
|
||||||
|
|||||||
Reference in new issue
Block a user