refac: styling

This commit is contained in:
Timothy J. Baek 2024-10-03 21:34:53 -07:00
parent 12977e07f3
commit 9dd76b72b4
2 changed files with 2 additions and 1 deletions

View File

@ -127,7 +127,7 @@
</div> </div>
{#if dismissible} {#if dismissible}
<div class=" absolute -top-2 -right-2"> <div class=" absolute -top-1 -right-1">
<button <button
class=" bg-gray-400 text-white border border-white rounded-full group-hover:visible invisible transition" class=" bg-gray-400 text-white border border-white rounded-full group-hover:visible invisible transition"
type="button" type="button"

View File

@ -19,6 +19,7 @@
{file} {file}
name={file.meta.name} name={file.meta.name}
type="file" type="file"
size={file.meta?.size ?? ''}
dismissible dismissible
on:click={() => { on:click={() => {
dispatch('click', file.id); dispatch('click', file.id);