refac
This commit is contained in:
1 parent
4d11553a6b
commit
423cafd4e7
21 files changed
+803
-1158
No files matched your search
@@ -49,6 +49,7 @@
|
||||
export let triggerScroll: Function;
|
||||
|
||||
export let topPadding = false;
|
||||
export let onInsertToNote: ((content: string) => void) | null = null;
|
||||
|
||||
const dispatch = createEventDispatcher();
|
||||
|
||||
@@ -320,6 +321,7 @@
|
||||
{addMessages}
|
||||
{readOnly}
|
||||
{topPadding}
|
||||
{onInsertToNote}
|
||||
/>
|
||||
{/if}
|
||||
{/key}
|
||||
@@ -377,6 +379,7 @@
|
||||
{readOnly}
|
||||
{editCodeBlock}
|
||||
{topPadding}
|
||||
{onInsertToNote}
|
||||
/>
|
||||
{/if}
|
||||
{/key}
|
||||
@@ -411,7 +414,9 @@
|
||||
</div>
|
||||
|
||||
{#if message.timestamp}
|
||||
<div class="mt-0.5 flex justify-start whitespace-nowrap text-gray-600 dark:text-gray-500">
|
||||
<div
|
||||
class="mt-0.5 flex justify-start whitespace-nowrap text-gray-600 dark:text-gray-500"
|
||||
>
|
||||
<Tooltip
|
||||
className="flex self-center"
|
||||
content={formatMessageTimestampFull(message.timestamp * 1000)}
|
||||
|
||||
Reference in new issue
Block a user