victor HF Staff commited on
Commit
d4c02cc
·
1 Parent(s): c7666b9

Update RetryBtn styling for smaller button

Browse files

Reduced button height, padding, and icon size for a more compact appearance. Adjusted spacing and font size to improve visual consistency.

Files changed (1) hide show
  1. src/lib/components/RetryBtn.svelte +2 -2
src/lib/components/RetryBtn.svelte CHANGED
@@ -12,7 +12,7 @@
12
  <button
13
  type="button"
14
  onclick={onClick}
15
- class="btn flex h-8 rounded-lg border bg-white px-3 py-1 text-gray-500 shadow-sm transition-all hover:bg-gray-100 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-300 dark:hover:bg-gray-600 {classNames}"
16
  >
17
- <CarbonRotate360 class="mr-2 text-xs " /> Retry
18
  </button>
 
12
  <button
13
  type="button"
14
  onclick={onClick}
15
+ class="btn flex h-7 rounded-lg border bg-white px-2 py-1 text-sm text-gray-500 shadow-sm hover:bg-gray-100 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-300 dark:hover:bg-gray-600 {classNames}"
16
  >
17
+ <CarbonRotate360 class="mr-1 -translate-y-px text-[.65rem]" /> Retry
18
  </button>