瀏覽代碼

refac: styling

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

+ 3 - 1
src/lib/components/common/FileItem.svelte

@@ -33,7 +33,9 @@
 {/if}
 
 <button
-	class="relative group p-1.5 {className} flex items-center gap-1 {colorClassName} rounded-xl text-left"
+	class="relative group p-1.5 {className} flex items-center gap-1 {colorClassName} {small
+		? 'rounded-xl'
+		: 'rounded-2xl'} text-left"
 	type="button"
 	on:click={async () => {
 		if (item?.file?.data?.content) {