nsarrazin commited on
Commit
e854d93
·
1 Parent(s): f8f7cda

fix: make sure title doesnt overflow on mobile

Browse files
src/lib/components/MobileNav.svelte CHANGED
@@ -67,9 +67,9 @@
67
  aria-label="Open menu"
68
  bind:this={openEl}><CarbonTextAlignJustify /></button
69
  >
70
- <div class="flex h-full items-center justify-center">
71
  {#if page.params?.id}
72
- <span class="truncate px-4" data-testid="chat-title">{title}</span>
73
  {/if}
74
  </div>
75
  <a
 
67
  aria-label="Open menu"
68
  bind:this={openEl}><CarbonTextAlignJustify /></button
69
  >
70
+ <div class="flex h-full items-center justify-center overflow-hidden">
71
  {#if page.params?.id}
72
+ <span class="max-w-full truncate px-4" data-testid="chat-title">{title}</span>
73
  {/if}
74
  </div>
75
  <a