瀏覽代碼

refac: styling

Timothy Jaeryang Baek 1 月之前
父節點
當前提交
e304ca5bd5
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      src/lib/components/common/FileItem.svelte

+ 4 - 2
src/lib/components/common/FileItem.svelte

@@ -67,14 +67,16 @@
 	}}
 >
 	{#if !small}
-		<div class="p-3 bg-black/20 dark:bg-white/10 text-white rounded-xl">
+		<div
+			class="size-10 shrink-0 flex justify-center items-center bg-black/20 dark:bg-white/10 text-white rounded-xl"
+		>
 			{#if !loading}
 				<svg
 					xmlns="http://www.w3.org/2000/svg"
 					viewBox="0 0 24 24"
 					fill="currentColor"
 					aria-hidden="true"
-					class=" size-5"
+					class=" size-4.5"
 				>
 					<path
 						fill-rule="evenodd"