fix: updates color of inactive buttons on table component (#6315)
Updated color of disabled buttons on table component
This commit is contained in:
parent
d4c04c89fe
commit
ec5259a0fc
1 changed files with 7 additions and 3 deletions
|
|
@ -57,7 +57,9 @@ export default function TableOptions({
|
||||||
name="Copy"
|
name="Copy"
|
||||||
className={cn(
|
className={cn(
|
||||||
"h-5 w-5 transition-all",
|
"h-5 w-5 transition-all",
|
||||||
hasSelection ? "text-primary" : "text-muted-foreground",
|
hasSelection
|
||||||
|
? "text-primary"
|
||||||
|
: "cursor-not-allowed text-placeholder-foreground",
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
@ -86,7 +88,7 @@ export default function TableOptions({
|
||||||
className={cn(
|
className={cn(
|
||||||
"h-5 w-5 transition-all",
|
"h-5 w-5 transition-all",
|
||||||
!hasSelection
|
!hasSelection
|
||||||
? "text-muted-foreground"
|
? "cursor-not-allowed text-placeholder-foreground"
|
||||||
: "text-primary hover:text-status-red",
|
: "text-primary hover:text-status-red",
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
|
@ -109,7 +111,9 @@ export default function TableOptions({
|
||||||
strokeWidth={2}
|
strokeWidth={2}
|
||||||
className={cn(
|
className={cn(
|
||||||
"h-5 w-5 transition-all",
|
"h-5 w-5 transition-all",
|
||||||
!stateChange ? "text-muted-foreground" : "text-primary",
|
!stateChange
|
||||||
|
? "cursor-not-allowed text-placeholder-foreground"
|
||||||
|
: "text-primary",
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue