refac: styling

This commit is contained in:
Timothy J. Baek 2024-11-08 20:14:33 -08:00
parent f258f44136
commit aa80df1431

View File

@ -306,13 +306,13 @@
<img <img
src={info.meta.profile_image_url} src={info.meta.profile_image_url}
alt="model profile" alt="model profile"
class="rounded-lg size-72 md:size-64 lg:size-72 object-cover shrink-0" class="rounded-lg size-72 md:size-64 object-cover shrink-0"
/> />
{:else} {:else}
<img <img
src="/static/favicon.png" src="/static/favicon.png"
alt="model profile" alt="model profile"
class=" rounded-lg size-72 md:size-64 lg:size-72 object-cover shrink-0" class=" rounded-lg size-72 md:size-64 object-cover shrink-0"
/> />
{/if} {/if}
</button> </button>
@ -336,7 +336,7 @@
<!-- <div class=" text-sm font-semibold">{$i18n.t('Model ID')}*</div> --> <!-- <div class=" text-sm font-semibold">{$i18n.t('Model ID')}*</div> -->
<div> <div>
<input <input
class="text-xs w-full bg-transparent text-gray-500 outline-none rounded-lg" class="text-xs w-full bg-transparent text-gray-500 outline-none"
placeholder={$i18n.t('Model ID')} placeholder={$i18n.t('Model ID')}
value={id} value={id}
disabled={edit} disabled={edit}
@ -352,7 +352,7 @@
<div> <div>
<select <select
class="text-sm w-full bg-transparent outline-none rounded-lg" class="text-sm w-full bg-transparent outline-none"
placeholder="Select a base model (e.g. llama3, gpt-4o)" placeholder="Select a base model (e.g. llama3, gpt-4o)"
bind:value={info.base_model_id} bind:value={info.base_model_id}
on:change={(e) => { on:change={(e) => {