Fix search in drawer layout mode #21

release v1.4.1
This commit is contained in:
Oscar Cortez 2015-10-04 20:57:41 -06:00
parent 2b1c40986e
commit d1cd7279b2
3 changed files with 9 additions and 2 deletions

View file

@ -1,5 +1,8 @@
# Change Log
## [v1.4.1](https://github.com/gdg-managua/jekyll-mdl/tree/v1.4.1) (2015-10-05)
[Full Changelog](https://github.com/gdg-managua/jekyll-mdl/compare/v1.4.0...v1.4.1)
## [v1.4.0](https://github.com/gdg-managua/jekyll-mdl/tree/v1.4.0) (2015-10-05)
[Full Changelog](https://github.com/gdg-managua/jekyll-mdl/compare/v1.3.0...v1.4.0)

View file

@ -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">

View file

@ -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">