refac: channel input

This commit is contained in:
Timothy Jaeryang Baek
2025-09-12 21:43:05 +04:00
parent b2623c9799
commit 06c1426e14
11 changed files with 567 additions and 637 deletions

View File

@@ -327,7 +327,7 @@ Based on the user's instruction, update and enhance the existing notes or select
});
</script>
<div class="flex items-center mb-1.5 pt-1.5">
<div class="flex items-center mb-1.5 pt-1.5 pl-1.5 pr-2.5">
<div class=" -translate-x-1.5 flex items-center">
<button
class="p-0.5 bg-transparent transition rounded-lg"
@@ -358,7 +358,7 @@ Based on the user's instruction, update and enhance the existing notes or select
</div>
</div>
<div class="flex flex-col items-center mb-2 flex-1 @container">
<div class="flex flex-col items-center flex-1 @container">
<div class=" flex flex-col justify-between w-full overflow-y-auto h-full">
<div class="mx-auto w-full md:px-0 h-full relative">
<div class=" flex flex-col h-full">
@@ -375,7 +375,7 @@ Based on the user's instruction, update and enhance the existing notes or select
</div>
</div>
<div class=" pb-2">
<div class=" pb-[1rem] pl-1.5 pr-2.5">
{#if selectedContent}
<div class="text-xs rounded-xl px-3.5 py-3 w-full markdown-prose-xs">
<blockquote>

View File

@@ -17,7 +17,7 @@
};
</script>
<div class="flex items-center mb-1.5 pt-1.5">
<div class="flex items-center mb-1.5 pt-1.5 pl-1.5 pr-2.5">
<div class=" -translate-x-1.5 flex items-center">
<button
class="p-0.5 bg-transparent transition rounded-lg"
@@ -36,7 +36,7 @@
</div>
</div>
<div class="mt-1">
<div class="mt-1 pl-1.5 pr-2.5">
<div class="pb-10">
{#if files.length > 0}
<div class=" text-xs font-medium pb-1">{$i18n.t('Files')}</div>

View File

@@ -98,7 +98,7 @@
{#if show}
<div class="flex max-h-full min-h-full">
<div
class="w-full pl-1.5 pr-2.5 pt-2 bg-white dark:shadow-lg dark:bg-gray-850 z-40 pointer-events-auto overflow-y-auto scrollbar-hidden flex flex-col"
class="w-full pt-2 bg-white dark:shadow-lg dark:bg-gray-850 z-40 pointer-events-auto overflow-y-auto scrollbar-hidden flex flex-col"
>
<slot />
</div>