tweaks
Browse files
src/lib/components/Playground/Playground.svelte
CHANGED
@@ -228,7 +228,7 @@
|
|
228 |
>
|
229 |
{#if conversations.length > 1}
|
230 |
<div
|
231 |
-
class="flex h-11 flex-none items-center gap-
|
232 |
class:mr-3={index === 0}
|
233 |
class:mx-3={index === 1}
|
234 |
>
|
|
|
228 |
>
|
229 |
{#if conversations.length > 1}
|
230 |
<div
|
231 |
+
class="flex h-11 flex-none items-center gap-2 whitespace-nowrap rounded-lg border border-gray-200/80 bg-white pl-3 pr-2 text-sm leading-none shadow-sm *:flex-none dark:border-gray-800 dark:bg-gray-800/70 dark:hover:bg-gray-800"
|
232 |
class:mr-3={index === 0}
|
233 |
class:mx-3={index === 1}
|
234 |
>
|
src/lib/components/Playground/PlaygroundMessage.svelte
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
</script>
|
14 |
|
15 |
<div
|
16 |
-
class="group/message group grid grid-cols-[1fr,2.5rem] items-start gap-2 px-3.5 pb-6 pt-4 hover:bg-gray-100/70 @2xl:grid-cols-[130px,1fr,2.5rem] @2xl:grid-rows-1 @2xl:gap-4 @2xl:px-6 dark:border-gray-800 dark:hover:bg-gray-800/
|
17 |
>
|
18 |
<div class="col-span-2 pb-1 pt-3 text-sm font-semibold uppercase @2xl:col-span-1 @2xl:pb-2">
|
19 |
{message.role}
|
|
|
13 |
</script>
|
14 |
|
15 |
<div
|
16 |
+
class="group/message group grid grid-cols-[1fr,2.5rem] items-start gap-2 px-3.5 pb-6 pt-4 hover:bg-gray-100/70 @2xl:grid-cols-[130px,1fr,2.5rem] @2xl:grid-rows-1 @2xl:gap-4 @2xl:px-6 dark:border-gray-800 dark:hover:bg-gray-800/30 {$$props.class}"
|
17 |
>
|
18 |
<div class="col-span-2 pb-1 pt-3 text-sm font-semibold uppercase @2xl:col-span-1 @2xl:pb-2">
|
19 |
{message.role}
|