Skip to content

Commit 979d1ac

Browse files
ci: apply automated fixes
1 parent 1fb9d4a commit 979d1ac

File tree

2 files changed

+25
-8
lines changed

2 files changed

+25
-8
lines changed

src/components/AvatarCropModal.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,10 @@ export function AvatarCropModal({
134134
</div>
135135

136136
<div className="mt-4">
137-
<label htmlFor="zoom" className="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2">
137+
<label
138+
htmlFor="zoom"
139+
className="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2"
140+
>
138141
Zoom
139142
</label>
140143
<input

src/routes/admin/showcases_.$id.tsx

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,9 @@ function ShowcaseDetailPage() {
414414
{isEditing ? (
415415
<div className="space-y-4">
416416
<div>
417-
<label htmlFor="url" className={labelClass}>URL</label>
417+
<label htmlFor="url" className={labelClass}>
418+
URL
419+
</label>
418420
<input
419421
id="url"
420422
type="text"
@@ -463,7 +465,9 @@ function ShowcaseDetailPage() {
463465
</p>
464466
</div>
465467
<div>
466-
<label htmlFor="description" className={labelClass}>Description (optional)</label>
468+
<label htmlFor="description" className={labelClass}>
469+
Description (optional)
470+
</label>
467471
<textarea
468472
id="description"
469473
value={formData?.description || ''}
@@ -477,7 +481,9 @@ function ShowcaseDetailPage() {
477481
/>
478482
</div>
479483
<div>
480-
<label htmlFor="trancoRank" className={labelClass}>Tranco Rank</label>
484+
<label htmlFor="trancoRank" className={labelClass}>
485+
Tranco Rank
486+
</label>
481487
<input
482488
id="trancoRank"
483489
type="number"
@@ -502,7 +508,9 @@ function ShowcaseDetailPage() {
502508
</p>
503509
</div>
504510
<div>
505-
<label htmlFor="voteScore" className={labelClass}>Vote Score</label>
511+
<label htmlFor="voteScore" className={labelClass}>
512+
Vote Score
513+
</label>
506514
<input
507515
id="voteScore"
508516
type="number"
@@ -767,7 +775,9 @@ function ShowcaseDetailPage() {
767775
</h2>
768776
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
769777
<div>
770-
<label htmlFor="status" className={labelClass}>Status</label>
778+
<label htmlFor="status" className={labelClass}>
779+
Status
780+
</label>
771781
<select
772782
id="status"
773783
value={formData?.status || 'pending'}
@@ -788,7 +798,9 @@ function ShowcaseDetailPage() {
788798
</select>
789799
</div>
790800
<div>
791-
<label htmlFor="featured" className={labelClass}>Featured</label>
801+
<label htmlFor="featured" className={labelClass}>
802+
Featured
803+
</label>
792804
<div className="flex items-center gap-3 mt-2">
793805
<button
794806
id="featured"
@@ -816,7 +828,9 @@ function ShowcaseDetailPage() {
816828
</div>
817829
</div>
818830
<div className="md:col-span-2">
819-
<label htmlFor="note" className={labelClass}>Moderation Note (optional)</label>
831+
<label htmlFor="note" className={labelClass}>
832+
Moderation Note (optional)
833+
</label>
820834
<textarea
821835
id="note"
822836
value={formData?.moderationNote || ''}

0 commit comments

Comments
 (0)