Fix incorrectly space "Create a new chat" button on smaller screens. (#627)

Co-authored-by: Juan Calderon-Perez <835733+gaby@users.noreply.github.com>
This commit is contained in:
Mike Zeng 2023-08-15 07:44:35 -05:00 committed by GitHub
parent e79ae6977f
commit e12342c124
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,16 +56,16 @@
<form on:submit|preventDefault={onCreateChat} id="form-create-chat" class="p-5">
<div class="w-full pb-20">
<div class="mx-auto w-fit pt-5">
<div class="mx-auto w-fit pt-5 flex flex-col lg:flex-row justify-center">
<button
type="submit"
class="btn-primary btn mx-5"
class="btn-primary btn mb-2 lg:mr-10 lg:mb-0"
disabled={!modelAvailable}>Start a new chat</button
>
<button
on:click={() => goto("/models")}
type="button"
class="btn-outline btn mx-5">Download Models</button
class="btn-outline btn">Download Models</button
>
</div>
</div>