We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28bbec2 commit 6361620Copy full SHA for 6361620
src/components/ModerationStatusSelect.tsx
@@ -54,6 +54,9 @@ export default function ModerationStatusSelect({
54
'!bg-green-light !text-green-dark': selected === 'APPROVED',
55
'!bg-yellow-light !text-yellow-dark': selected === 'SPAM',
56
'!bg-red-light !text-red-dark': selected === 'DENIED',
57
+ // The styles above override default select disabled styles, so let's
58
+ // add reduced opacity to those
59
+ 'disabled:opacity-75': selected !== 'PENDING',
60
},
61
)}
62
aria-label="Moderation status"
0 commit comments