Skip to content

Commit

Permalink
fix focused style not applying properly when exploring search suggest…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
Ragnar-Oock committed Feb 26, 2021
1 parent 3d035ad commit b75c46f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/components/SearchBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,8 @@ export default {
transition: opacity 300ms ease-in-out;
}
&:focus {
&:focus,
&.focus {
outline: none;
background-color: var(--filler-2);
Expand All @@ -584,7 +585,8 @@ export default {
@at-root .docked & {
background-color: var(--filler-2-translucent);
&:focus {
&:focus,
&.focus {
background-color: var(--filler-2);
&::placeholder {
Expand Down Expand Up @@ -674,7 +676,8 @@ export default {
width: 100%;
border-radius: 5px;
transition: box-shadow 300ms ease-in-out;
&:focus-within {
&:focus-within,
&.focus-within {
box-shadow: 0 0 5px 0 #0003;
}
}
Expand Down

0 comments on commit b75c46f

Please sign in to comment.