Skip to content

Commit

Permalink
add fix for scroll bar on cover screen: joshgerdes/jekyll-uno#42.
Browse files Browse the repository at this point in the history
  • Loading branch information
dotps1 committed Jul 30, 2017
1 parent 3c1d045 commit 9ce134c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions css/uno.css
Expand Up @@ -233,6 +233,7 @@ pre {

.content-wrapper__inner {
margin: 0 10%;
display: none;
padding: 50px 0; }

.footer {
Expand Down
1 change: 1 addition & 0 deletions js/main.js
Expand Up @@ -6,6 +6,7 @@ sitemap:

$(document).ready(function () {
$('a.events-button').click(function (e) {
$('.content-wrapper__inner').css('display', 'block')
if ($('.panel-cover').hasClass('panel-cover--collapsed')) return
currentWidth = $('.panel-cover').width()
if (currentWidth < 960) {
Expand Down

0 comments on commit 9ce134c

Please sign in to comment.