Skip to content

Commit b7fdb7d

Browse files
authored
ref(feedback): Change form box-shadow to use CSS var (#9630)
This makes it consistent with the buttons box shadow, so they both have the same box shadow by default.
1 parent ce986ca commit b7fdb7d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/feedback/src/widget/Dialog.css.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ export function createDialogStyles(d: Document): HTMLStyleElement {
4747
max-height: calc(100% - 2rem);
4848
display: flex;
4949
flex-direction: column;
50-
box-shadow:
51-
0 0 0 1px rgba(0, 0, 0, 0.05),
52-
0 4px 16px rgba(0, 0, 0, 0.2);
50+
box-shadow: var(--box-shadow);
5351
transition: transform 0.2s ease-in-out;
5452
transform: translate(0, 0) scale(1);
5553
}

0 commit comments

Comments
 (0)