mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-12 02:26:30 -05:00
Button disabled style opacity
This commit is contained in:
@@ -76,7 +76,7 @@ export function RecentRequestsDropdown() {
|
||||
size="sm"
|
||||
className="flex-[2] text-center text-gray-800 text-sm truncate pointer-events-none"
|
||||
>
|
||||
{activeRequest?.name ?? <span className="text-gray-400">No Request</span>}
|
||||
{activeRequest?.name ?? 'No Request'}
|
||||
</Button>
|
||||
</Dropdown>
|
||||
);
|
||||
|
||||
@@ -51,7 +51,7 @@ const _Button = forwardRef<any, ButtonProps>(function Button(
|
||||
'outline-none whitespace-nowrap',
|
||||
'focus-visible-or-class:ring',
|
||||
'rounded-md flex items-center',
|
||||
disabled ? 'pointer-events-none' : 'pointer-events-auto',
|
||||
disabled ? 'pointer-events-none opacity-disabled' : 'pointer-events-auto',
|
||||
colorStyles[color || 'default'],
|
||||
justify === 'start' && 'justify-start',
|
||||
justify === 'center' && 'justify-center',
|
||||
|
||||
Reference in New Issue
Block a user