nsarrazin commited on
Commit
4f8128b
·
1 Parent(s): b8029a6

fix: more styling/layout fixes

Browse files
src/lib/components/chat/ChatWindow.svelte CHANGED
@@ -352,15 +352,15 @@
352
  </div>
353
  <div
354
  class="pointer-events-none absolute inset-x-0 bottom-0 z-0 mx-auto flex w-full
355
- max-w-3xl flex-col items-center justify-center bg-gradient-to-t from-white via-white/100
356
- to-white/0 px-3.5 py-4 dark:border-gray-800 dark:from-gray-900 dark:via-gray-800/100
357
- dark:to-gray-900/0
358
- max-sm:border-t-0 max-sm:py-0 sm:px-5 md:py-8 xl:max-w-4xl [&>*]:pointer-events-auto"
359
  >
360
  {#if sources?.length && !loading}
361
  <div
362
  in:fly|local={sources.length === 1 ? { y: -20, easing: cubicInOut } : undefined}
363
- class="flex flex-row flex-wrap justify-center gap-2.5 rounded-xl max-md:pb-3"
364
  >
365
  {#each sources as source, index}
366
  {#await source then src}
 
352
  </div>
353
  <div
354
  class="pointer-events-none absolute inset-x-0 bottom-0 z-0 mx-auto flex w-full
355
+ max-w-3xl flex-col items-center justify-center bg-gradient-to-t from-white
356
+ via-white/100 to-white/0 px-3.5 pt-2 dark:border-gray-800
357
+ dark:from-gray-900 dark:via-gray-900/100
358
+ dark:to-gray-900/0 max-sm:py-0 sm:px-5 md:pb-4 xl:max-w-4xl [&>*]:pointer-events-auto"
359
  >
360
  {#if sources?.length && !loading}
361
  <div
362
  in:fly|local={sources.length === 1 ? { y: -20, easing: cubicInOut } : undefined}
363
+ class="flex flex-row flex-wrap justify-center gap-2.5 rounded-xl pb-3"
364
  >
365
  {#each sources as source, index}
366
  {#await source then src}