refac: styling

This commit is contained in:
Timothy J. Baek 2024-05-14 12:11:57 -10:00
parent 39fdd95a0c
commit 370f182430

View File

@ -131,7 +131,9 @@
<Tooltip content={$i18n.t('New Chat')}>
<button
id="new-chat-button"
class="cursor-pointer px-2 py-2 flex rounded-xl hover:bg-gray-100 dark:hover:bg-gray-850 transition"
class=" flex {$showSidebar
? 'md:hidden'
: ''} cursor-pointer px-2 py-2 rounded-xl hover:bg-gray-100 dark:hover:bg-gray-850 transition"
on:click={() => {
initNewChat();
}}