Unverified Commit 136e864e authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

Merge pull request #738 from ollama-webui/styling

refac: placeholder styling
parents a2a433b0 0b5344c2
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
{#if models.length > 0} {#if models.length > 0}
<div class="m-auto text-center max-w-md pb-56 px-2"> <div class="m-auto text-center max-w-md pb-56 px-2">
<div class="flex justify-center mt-8"> <div class="flex justify-center mt-8">
<div class="flex -space-x-10"> <div class="flex -space-x-4 mb-1">
{#each models as model, modelIdx} {#each models as model, modelIdx}
<button <button
on:click={() => { on:click={() => {
...@@ -29,18 +29,14 @@ ...@@ -29,18 +29,14 @@
<img <img
src={modelfiles[model]?.imageUrl ?? './favicon.png'} src={modelfiles[model]?.imageUrl ?? './favicon.png'}
alt="modelfile" alt="modelfile"
class=" w-20 mb-2 rounded-full {models.length > 1 class=" w-14 rounded-full border-[1px] border-gray-200 dark:border-none"
? ' border-[5px] border-white dark:border-gray-900'
: ''}"
draggable="false" draggable="false"
/> />
{:else} {:else}
<img <img
src={models.length === 1 ? '/favicon.png' : '/favicon.png'} src={models.length === 1 ? '/favicon.png' : '/favicon.png'}
class=" w-20 mb-2 {models.length === 1 class=" w-14 rounded-full border-[1px] border-gray-200 dark:border-none"
? '' alt="logo"
: 'border-[5px] border-white dark:border-gray-900'} rounded-full"
alt="ollama"
draggable="false" draggable="false"
/> />
{/if} {/if}
......
static/favicon.png

13.2 KB | W: | H:

static/favicon.png

7 KB | W: | H:

static/favicon.png
static/favicon.png
static/favicon.png
static/favicon.png
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment