Skip to content

Commit

Permalink
ref(feedback): Change form box-shadow to use CSS var (#9630)
Browse files Browse the repository at this point in the history
This makes it consistent with the buttons box shadow, so they both have
the same box shadow by default.
  • Loading branch information
billyvg committed Nov 30, 2023
1 parent ce986ca commit b7fdb7d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/feedback/src/widget/Dialog.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ export function createDialogStyles(d: Document): HTMLStyleElement {
max-height: calc(100% - 2rem);
display: flex;
flex-direction: column;
box-shadow:
0 0 0 1px rgba(0, 0, 0, 0.05),
0 4px 16px rgba(0, 0, 0, 0.2);
box-shadow: var(--box-shadow);
transition: transform 0.2s ease-in-out;
transform: translate(0, 0) scale(1);
}
Expand Down

0 comments on commit b7fdb7d

Please sign in to comment.