Skip to content

Commit

Permalink
Fix search in drawer layout mode #21
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarmcm committed Oct 5, 2015
1 parent 2b1c409 commit dac5c45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions _includes/header_fixed.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
<header class="mdl-layout__header">
<div class="mdl-layout__header-row">

<div class="mdl-layout-spacer"></div>

<div class="mdl-textfield mdl-js-textfield mdl-textfield--expandable
mdl-textfield--floating-label mdl-textfield--align-right">
<label class="mdl-button mdl-js-button mdl-button--icon"
for="fixed-header-drawer-exp">
for="js-search__input">
<i class="material-icons">search</i>
</label>

<div class="mdl-textfield__expandable-holder">
<input class="mdl-textfield__input" type="text" name="sample"
id="fixed-header-drawer-exp" />
id="js-search__input" />
</div>

<button class="mdl-button mdl-js-button mdl-button--icon" id="fixed-menu-lower-left">
Expand Down
1 change: 1 addition & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<!-- Start Layout -->
{% if site.header_type == 'drawer' %}
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header mdl-layout--fixed-drawer">
{% include search_result.html %}
{% include header_fixed.html %}
{% else %}
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
Expand Down

0 comments on commit dac5c45

Please sign in to comment.