Skip to content

Commit

Permalink
fix: update liveness button focus border to have a gap
Browse files Browse the repository at this point in the history
  • Loading branch information
thaddmt committed Jan 9, 2024
1 parent f51b224 commit 8cb0892
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/ui/src/theme/css/component/liveness.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
right: var(--amplify-space-medium);
}

.liveness-detector .amplify-button--primary {
&:focus {
box-shadow: unset;
outline: var(--amplify-components-button-focus-color) solid 2px;
outline-offset: 2px;
box-shadow: unset;
}
}

.amplify-liveness-cancel-button {
background-color: #fff;
color: hsl(190, 95%, 30%);
Expand Down

0 comments on commit 8cb0892

Please sign in to comment.