refac: selector styling

This commit is contained in:
Timothy J. Baek 2024-10-19 01:34:03 -07:00
parent ce917eba81
commit fb84fc8e77

View File

@ -479,10 +479,16 @@
</div> </div>
<div class="flex flex-col self-start"> <div class="flex flex-col self-start">
<div class="line-clamp-1"> <div class="flex gap-1">
Downloading "{model}" {'pullProgress' in $MODEL_DOWNLOAD_POOL[model] <div class="line-clamp-1">
? `(${$MODEL_DOWNLOAD_POOL[model].pullProgress}%)` Downloading "{model}"
: ''} </div>
<div class="flex-shrink-0">
{'pullProgress' in $MODEL_DOWNLOAD_POOL[model]
? `(${$MODEL_DOWNLOAD_POOL[model].pullProgress}%)`
: ''}
</div>
</div> </div>
{#if 'digest' in $MODEL_DOWNLOAD_POOL[model] && $MODEL_DOWNLOAD_POOL[model].digest} {#if 'digest' in $MODEL_DOWNLOAD_POOL[model] && $MODEL_DOWNLOAD_POOL[model].digest}
@ -493,7 +499,7 @@
</div> </div>
</div> </div>
<div class="mr-2 translate-y-0.5"> <div class="mr-2 ml-1 translate-y-0.5">
<Tooltip content={$i18n.t('Cancel')}> <Tooltip content={$i18n.t('Cancel')}>
<button <button
class="text-gray-800 dark:text-gray-100" class="text-gray-800 dark:text-gray-100"