Skip to content

Commit

Permalink
fix: added search input border transition back in
Browse files Browse the repository at this point in the history
  • Loading branch information
jgorfine-zendesk authored and luis-almeida committed Mar 14, 2022
1 parent a3c0e94 commit 5407814
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1084,6 +1084,7 @@ ul {
border-width: 1px;
display: flex;
position: relative;
transition: border 0.12s ease-in-out;
}

.search:focus-within {
Expand Down
2 changes: 1 addition & 1 deletion styles/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ textarea {
input {
max-width: 100%;
box-sizing: border-box;
transition: border $input-transition;
transition: $input-transition;

&:not([type="checkbox"]) {
outline: none;
Expand Down
1 change: 1 addition & 0 deletions styles/_search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ $padding-right: 20px;
border-width: 1px;
display: flex;
position: relative;
transition: $input-transition;

&:focus-within {
border-color: $brand_color;
Expand Down
2 changes: 1 addition & 1 deletion styles/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ $max-width-container: 1160px;
$font-weight-semibold: 600;

// Transitions
$input-transition: .12s ease-in-out;
$input-transition: border .12s ease-in-out;

0 comments on commit 5407814

Please sign in to comment.