mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
refac: styling
This commit is contained in:
parent
b1a941ee6f
commit
cbf6004c76
@ -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
|
||||||
|
@ -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}
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user