Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
fix(select): Fixes outline position within formfield.
Browse files Browse the repository at this point in the history
  • Loading branch information
ffriedl89 committed Jan 13, 2022
1 parent 999ccde commit 9a55d80
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libs/barista-components/select/src/select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ $dt-select-panel-min-width: 112px !default;
.dt-form-field-infix > & {
border: none;
min-height: 30px;
&.cdk-focused.cdk-keyboard-focused,
&.cdk-focused.cdk-program-focused {
/** since the select is 2px smaller we need to move the offset out
1px to have the same outline position */
outline-offset: 2px;
}
}

@include dt-cdkmonitor-focus-style();
Expand Down

0 comments on commit 9a55d80

Please sign in to comment.