Browse Source

refac: styling

Timothy Jaeryang Baek 5 months ago
parent
commit
19bcda2362
1 changed files with 3 additions and 1 deletions
  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) {