Some small fixes

This commit is contained in:
Gregory Schier
2023-04-04 13:56:14 -07:00
parent 452a0c3ed5
commit 1a2bb3d12e
4 changed files with 4 additions and 31 deletions

View File

@@ -46,7 +46,6 @@ const _Button = forwardRef<any, ButtonProps>(function Button(
() =>
classnames(
className,
'opacity-90 hover:opacity-100',
'outline-none whitespace-nowrap',
'focus-visible-or-class:ring',
'rounded-md flex items-center',

View File

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