refac: styling

This commit is contained in:
Timothy J. Baek 2024-11-07 01:07:28 -08:00
parent b1a941ee6f
commit cbf6004c76
2 changed files with 5 additions and 5 deletions

View File

@ -366,7 +366,7 @@
<div class=" my-2 mb-5" id="model-list"> <div class=" my-2 mb-5" id="model-list">
{#each filteredModels as model} {#each filteredModels as model}
<div <div
class=" flex space-x-4 cursor-pointer w-full px-3 py-2 dark:hover:bg-white/5 hover:bg-black/5 rounded-xl" class=" flex space-x-4 cursor-pointer w-full px-3 py-2 dark:hover:bg-white/5 hover:bg-black/5 rounded-lg transition"
id="model-item-{model.id}" id="model-item-{model.id}"
> >
<a <a

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 object-cover shrink-0" class="rounded-lg size-72 md:size-64 lg:size-72 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 object-cover shrink-0" class=" rounded-lg size-72 md:size-64 lg:size-72 object-cover shrink-0"
/> />
{/if} {/if}
</button> </button>
@ -639,8 +639,8 @@
<div class="my-2 flex justify-end mb-20"> <div class="my-2 flex justify-end mb-20">
<button <button
class=" text-sm px-3 py-2 transition rounded-lg {loading class=" text-sm px-3 py-2 transition rounded-lg {loading
? ' cursor-not-allowed bg-gray-100 dark:bg-gray-800' ? ' cursor-not-allowed bg-white hover:bg-gray-100 text-black'
: ' bg-gray-50 hover:bg-gray-100 dark:bg-white dark:hover:bg-gray-100 dark:text-black'} flex w-full justify-center" : ' bg-white hover:bg-gray-100 text-black'} flex w-full justify-center"
type="submit" type="submit"
disabled={loading} disabled={loading}
> >