A few fixes

This commit is contained in:
Gregory Schier
2023-04-04 13:31:48 -07:00
parent b3c461afdd
commit 639de4321e
5 changed files with 18 additions and 14 deletions

View File

@@ -15,7 +15,7 @@ export function StatusTag({ asBackground, response, className }: Props) {
<span
className={classnames(
className,
'text-white bg-opacity-90',
'text-white bg-opacity-90 dark:bg-opacity-50',
status >= 0 && status < 100 && 'bg-red-600',
status >= 100 && status < 200 && 'bg-yellow-600',
status >= 200 && status < 300 && 'bg-green-600',