Skip to content

Commit 79152a7

Browse files
daniel-monroeclaude
andcommitted
Fix prettier Tailwind class ordering in candidates challenge button
Reorder conditional classes so hover/border utilities precede the bg-* base, matching prettier-plugin-tailwindcss. Unblocks the production build. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 15a0067 commit 79152a7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/pages/candidates.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ const PositionPill: React.FC<{
189189
href={playHref}
190190
className={`inline-flex items-center gap-2 rounded-full px-4 py-2 text-sm font-medium text-primary shadow-[0_8px_24px_rgba(0,0,0,0.2)] transition ${
191191
completed
192-
? 'bg-emerald-500/30 hover:bg-emerald-500/34 border border-emerald-100/70 hover:border-emerald-50/80'
193-
: 'bg-rose-500/30 hover:bg-rose-500/34 border border-rose-100/65 hover:border-rose-50/75'
192+
? 'hover:bg-emerald-500/34 border border-emerald-100/70 bg-emerald-500/30 hover:border-emerald-50/80'
193+
: 'hover:bg-rose-500/34 border border-rose-100/65 bg-rose-500/30 hover:border-rose-50/75'
194194
}`}
195195
>
196196
<span className="material-symbols-outlined !text-[18px]">

0 commit comments

Comments
 (0)