Skip to content

Commit 36cab4b

Browse files
committed
update
1 parent 409475a commit 36cab4b

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

packages/app/app/components/BadgeGenerator.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ function copyBadgeCode() {
2121
</script>
2222

2323
<template>
24-
<div class="inline-flex items-center gap-1">
24+
<div class="flex items-center justify-center gap-1">
2525
<img
2626
:src="badgeUrl"
2727
:alt="`${repo} badge`"
28-
class="h-[20px] min-w-[100px] max-w-[300px]"
28+
class="h-5"
29+
style="max-width: 300px; width: auto"
2930
/>
3031

3132
<UButton
@@ -34,7 +35,7 @@ function copyBadgeCode() {
3435
color="gray"
3536
:icon="copied ? 'i-ph-check-bold' : 'i-ph-copy'"
3637
variant="ghost"
37-
class="!p-1"
38+
class="!p-1 flex-shrink-0"
3839
/>
3940
</div>
4041
</template>

packages/app/app/pages/~/[owner]/[repo].vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ useSeoMeta({
8080
</div>
8181

8282
<div class="flex flex-col items-center justify-center mt-2">
83-
<p class="text-sm mb-[10px]">
83+
<p class="text-sm mb-2">
8484
You can copy the badge and put in your README!
8585
</p>
8686
<BadgeGenerator

0 commit comments

Comments
 (0)