Skip to content
This repository has been archived by the owner on May 12, 2019. It is now read-only.

Commit

Permalink
Merge pull request #101 from ManRueda/master
Browse files Browse the repository at this point in the history
Fix some styles errors with the scroll bars
  • Loading branch information
Kikobeats committed Oct 10, 2015
2 parents fd225da + 2f3b578 commit 95d0b8b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion assets/css/uno-zen.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/js/src/cover.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ $ ->
, 1000)

_expand = (options)->
$('main, .cover, .links > li').toggleClass 'expanded'
$('main, .cover, .links > li, html').toggleClass 'expanded'
Uno.search.form options.form

$('#menu-button').click ->
$('.cover, main, #menu-button').toggleClass 'expanded'
$('.cover, main, #menu-button, html').toggleClass 'expanded'

$('.nav-blog > a, #avatar-link').click (event) ->
if Uno.is 'page', 'home'
Expand Down
3 changes: 1 addition & 2 deletions assets/js/uno-zen.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/scss/components/_aside.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
display: block;
width: $aside-width-collapsed;
height: 100%;
overflow-y: scroll;
overflow-y: auto;

border-right: 1px solid $gray;
box-shadow: 10.5px -10px 1px -9px $gray-light;
Expand Down
4 changes: 4 additions & 0 deletions assets/scss/modules/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
html {
height: 100%;
max-height: 100%;

&.expanded {
overflow-y: hidden;
}

font-size: $unit;
}
Expand Down

0 comments on commit 95d0b8b

Please sign in to comment.