Skip to content

Commit 761b683

Browse files
[autofix.ci] apply automated fixes
1 parent 39be64f commit 761b683

File tree

1 file changed

+33
-31
lines changed

1 file changed

+33
-31
lines changed

docs/app/components/BadgeGeneratorParameters.vue

Lines changed: 33 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -172,45 +172,47 @@ const copyToClipboard = async () => {
172172
<div class="h-px bg-gray-200 dark:bg-white/5 w-full" />
173173
174174
<div class="grid grid-cols-1 sm:grid-cols-4 gap-6">
175-
<div class="flex flex-col gap-1.5">
176-
<label class="text-[10px] font-bold uppercase text-gray-400 ml-1">Label Text</label>
177-
<div class="relative group">
178-
<input
179-
v-model="labelText"
180-
:disabled="usePkgName"
181-
type="text"
182-
placeholder="Custom Label"
183-
class="w-full px-3 py-2 h-9 rounded-lg border border-gray-200 dark:border-white/10 bg-white dark:bg-black/20 text-xs outline-none focus:border-emerald-500 disabled:cursor-not-allowed transition-all"
184-
:class="{ 'opacity-50 grayscale pl-3': usePkgName }"
185-
/>
175+
<div class="flex flex-col gap-1.5">
176+
<label class="text-[10px] font-bold uppercase text-gray-400 ml-1">Label Text</label>
177+
<div class="relative group">
178+
<input
179+
v-model="labelText"
180+
:disabled="usePkgName"
181+
type="text"
182+
placeholder="Custom Label"
183+
class="w-full px-3 py-2 h-9 rounded-lg border border-gray-200 dark:border-white/10 bg-white dark:bg-black/20 text-xs outline-none focus:border-emerald-500 disabled:cursor-not-allowed transition-all"
184+
:class="{ 'opacity-50 grayscale pl-3': usePkgName }"
185+
/>
186186
187-
<transition
188-
enter-active-class="transition duration-200 ease-out"
189-
enter-from-class="opacity-0 scale-95"
190-
enter-to-class="opacity-100 scale-100"
191-
leave-active-class="transition duration-150 ease-in"
192-
leave-from-class="opacity-100 scale-100"
193-
leave-to-class="opacity-0 scale-95"
187+
<transition
188+
enter-active-class="transition duration-200 ease-out"
189+
enter-from-class="opacity-0 scale-95"
190+
enter-to-class="opacity-100 scale-100"
191+
leave-active-class="transition duration-150 ease-in"
192+
leave-from-class="opacity-100 scale-100"
193+
leave-to-class="opacity-0 scale-95"
194+
>
195+
<div
196+
v-if="usePkgName"
197+
class="absolute right-1.5 top-1/2 -translate-y-1/2 pointer-events-none"
194198
>
195-
<div
196-
v-if="usePkgName"
197-
class="absolute right-1.5 top-1/2 -translate-y-1/2 pointer-events-none"
198-
>
199-
<span class="flex items-center gap-1 px-1.5 py-0.5 rounded-md bg-emerald-500/10 dark:bg-emerald-500/20 text-emerald-500 text-[9px] font-bold uppercase tracking-tighter border border-emerald-500/20">
200-
Auto
201-
</span>
202-
</div>
203-
</transition>
199+
<span
200+
class="flex items-center gap-1 px-1.5 py-0.5 rounded-md bg-emerald-500/10 dark:bg-emerald-500/20 text-emerald-500 text-[9px] font-bold uppercase tracking-tighter border border-emerald-500/20"
201+
>
202+
Auto
203+
</span>
204204
</div>
205+
</transition>
205206
</div>
207+
</div>
206208
207209
<div class="flex flex-col gap-1.5">
208210
<label class="text-[10px] font-bold uppercase text-gray-400 ml-1">Badge Value</label>
209211
<input
210-
v-model="badgeValue"
211-
type="text"
212-
placeholder="Override Value"
213-
class="px-3 py-2 h-9 rounded-lg border border-gray-200 dark:border-white/10 bg-white dark:bg-black/20 text-xs outline-none focus:border-emerald-500 transition-all"
212+
v-model="badgeValue"
213+
type="text"
214+
placeholder="Override Value"
215+
class="px-3 py-2 h-9 rounded-lg border border-gray-200 dark:border-white/10 bg-white dark:bg-black/20 text-xs outline-none focus:border-emerald-500 transition-all"
214216
/>
215217
</div>
216218

0 commit comments

Comments
 (0)