Skip to content

Commit 60d1dbd

Browse files
committed
Update search results to scroll, remove initial dummy text
1 parent 512b57d commit 60d1dbd

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

source/layouts/layout.erb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,7 @@ under the License.
6464
<div class="search">
6565
<input type="text" class="search" id="input-search" placeholder="Search">
6666
</div>
67-
<ul class="search-results">
68-
<li><a href="#">Introduction</a></li>
69-
<li><a href="#">Cats</a></li>
70-
</ul>
67+
<ul class="search-results"></ul>
7168
<% end %>
7269
<div id="toc">
7370
</div>

source/stylesheets/screen.css.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ html, body {
127127
margin-top: 0;
128128
@include box-sizing(border-box);
129129
height: 0;
130-
overflow: hidden;
130+
overflow-y: auto;
131+
overflow-x: hidden;
131132
@include transition-property(height margin);
132133
@include transition-duration(180ms);
133134
@include transition-timing-function(ease-in-out);

0 commit comments

Comments
 (0)