Skip to content

Commit

Permalink
Don't scroll unless overflowing
Browse files Browse the repository at this point in the history
  • Loading branch information
ozan committed Jan 7, 2016
1 parent 6edb768 commit 97be8f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book/chapter.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ a:hover {
font-size: 16px;
min-width: 350px;
overflow-x: hidden;
overflow-y: scroll;
overflow-y: auto;
padding: 0 20px 40px 50px;
width: 350px;
}
Expand Down Expand Up @@ -124,7 +124,7 @@ code, code[class*="language-"] {
pre {
background: rgba(242, 242, 242, 0.5);
padding: 20px;
overflow-x: scroll;
overflow-x: auto;
}

figure {
Expand Down

0 comments on commit 97be8f9

Please sign in to comment.