Skip to content

Commit

Permalink
Update search results to scroll, remove initial dummy text
Browse files Browse the repository at this point in the history
  • Loading branch information
lord committed Jul 3, 2014
1 parent 512b57d commit 60d1dbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 1 addition & 4 deletions source/layouts/layout.erb
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,7 @@ under the License.
<div class="search">
<input type="text" class="search" id="input-search" placeholder="Search">
</div>
<ul class="search-results">
<li><a href="#">Introduction</a></li>
<li><a href="#">Cats</a></li>
</ul>
<ul class="search-results"></ul>
<% end %>
<div id="toc">
</div>
Expand Down
3 changes: 2 additions & 1 deletion source/stylesheets/screen.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ html, body {
margin-top: 0;
@include box-sizing(border-box);
height: 0;
overflow: hidden;
overflow-y: auto;
overflow-x: hidden;
@include transition-property(height margin);
@include transition-duration(180ms);
@include transition-timing-function(ease-in-out);
Expand Down

0 comments on commit 60d1dbd

Please sign in to comment.