Skip to content

Commit d2fc306

Browse files
feat(UserFeedback): Add support for high contrast (#713)
Add borders to container that show in high contrast mode.
1 parent 00562db commit d2fc306

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/module/src/Message/UserFeedback/UserFeedback.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// shared
22
.pf-chatbot__feedback-card {
33
box-shadow: var(--pf-t--global--box-shadow--sm);
4-
--pf-v6-c-card--BorderWidth: 0;
4+
// we want to override to 0 usually and assume the default border for high contrast support
5+
--pf-v6-c-card--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular);
56
max-width: 27.5rem; // fixme address mobile vs desktop
67
}
78

0 commit comments

Comments
 (0)