Skip to content

Commit 396c248

Browse files
authored
fix: content card disabled (#5763)
1 parent bc629aa commit 396c248

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/nine-impalas-tease.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@ultraviolet/plus": patch
3+
---
4+
5+
`ContentCard`: image should not be disabled when `disabled=false`

packages/plus/src/components/ContentCard/styles.css.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export const subContainer = styleVariants({
8989
const imageBase = style({
9090
objectFit: 'cover',
9191
selectors: {
92-
'&[data-disabled]': {
92+
'&[data-disabled="true"]': {
9393
filter: 'grayscale(1)',
9494
},
9595
},

0 commit comments

Comments
 (0)