Skip to content

Commit

Permalink
Merge pull request #236 from SwedbankPay/DX-1462_make_search_icon_cli…
Browse files Browse the repository at this point in the history
…ckable

DX-1462 Added button on icon and cursor pointer
  • Loading branch information
trieutran91 authored Jan 26, 2021
2 parents b08672e + 98fd0be commit 77856ef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@
onblur="this.placeholder='Search in documentation'"
pattern=".{3,}"
title="At least 3 characters">
<label for="search-input" class="mb-0">
<button class="mb-0">
<i class="material-icons m-0" aria-hidden="true">search</i>
</label>
</button>
</form>
{% endif %}
<ul id="dx-sidebar-main-nav-ul" class="main-nav-ul">
Expand Down
6 changes: 6 additions & 0 deletions _sass/sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@
}
}

button {
background-color: $white;
border: none;
cursor: pointer;
}

}

.main-nav-ul {
Expand Down

0 comments on commit 77856ef

Please sign in to comment.