Spaces:
Paused
Paused
fix: ssr layout shift in assistant landing page
Browse files
src/lib/components/chat/AssistantIntroduction.svelte
CHANGED
|
@@ -105,7 +105,7 @@
|
|
| 105 |
{/if}
|
| 106 |
|
| 107 |
{#if assistant.createdByName}
|
| 108 |
-
<
|
| 109 |
Created by
|
| 110 |
<a class="hover:underline" href="{base}/assistants?user={assistant.createdByName}">
|
| 111 |
{assistant.createdByName}
|
|
@@ -119,7 +119,7 @@
|
|
| 119 |
<CarbonUserMultiple class="text-xxs" />{formatUserCount(assistant.userCount)} users
|
| 120 |
</div>
|
| 121 |
{/if}
|
| 122 |
-
</
|
| 123 |
{/if}
|
| 124 |
</div>
|
| 125 |
</div>
|
|
|
|
| 105 |
{/if}
|
| 106 |
|
| 107 |
{#if assistant.createdByName}
|
| 108 |
+
<div class="pt-1 text-sm text-gray-400 dark:text-gray-500">
|
| 109 |
Created by
|
| 110 |
<a class="hover:underline" href="{base}/assistants?user={assistant.createdByName}">
|
| 111 |
{assistant.createdByName}
|
|
|
|
| 119 |
<CarbonUserMultiple class="text-xxs" />{formatUserCount(assistant.userCount)} users
|
| 120 |
</div>
|
| 121 |
{/if}
|
| 122 |
+
</div>
|
| 123 |
{/if}
|
| 124 |
</div>
|
| 125 |
</div>
|