Skip to content

Commit 623f071

Browse files
committed
fix(website): search icon
1 parent 69e4f8e commit 623f071

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

docs/_includes/header.html

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<li class="hidden-xs">
1313
<form class="form search-form" action="#">
1414
<input class="form-control" type="text" id="doc-search" />
15+
<div class="search-icon"><i class="fa fa-search"></i></div>
1516
</form>
1617
</li>
1718
{% assign url = page.url %}

docs/css/_search.sass

+2-4
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,13 @@
2121
width: 300px
2222
border: solid 2px $brand-primary
2323
transition: all .2s
24-
&:before
24+
.search-icon
2525
display: block
2626
width: 20px
2727
height: 20px
2828
position: absolute
29-
top: 4px
29+
top: 2px
3030
left: 10px
31-
content: "\f002"
32-
font-family: FontAwesome
3331
text-align: center
3432
color: $brand-primary
3533
pointer-events: none

0 commit comments

Comments
 (0)