Skip to content

Commit

Permalink
Fixing width and hiding effect on focus
Browse files Browse the repository at this point in the history
  • Loading branch information
mkruskal-google committed Oct 7, 2022
1 parent 25e868b commit 7e23a2c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion assets/scss/_search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.td-search-wrapper {
position: relative;
background: transparent;
max-width: 90%;
width: 90%;
}

.td-search-wrapper .td-search-input {
Expand Down Expand Up @@ -40,6 +40,15 @@
pointer-events: none;
}

# Hide the icon on focus.
.td-search-wrapper:focus-within .fa {
display: none;
}

.td-search-wrapper:focus-within .td-search-input {
text-indent: 0px;
}

.popover.offline-search-result {
// Override bootstrap default style (max-width: $popover-max-width;)
max-width: 90%;
Expand Down

0 comments on commit 7e23a2c

Please sign in to comment.