summaryrefslogtreecommitdiff
path: root/book/src/main
diff options
context:
space:
mode:
authorLi Haoyi <haoyi@dropbox.com>2015-03-12 20:13:25 +0800
committerLi Haoyi <haoyi@dropbox.com>2015-03-12 20:13:25 +0800
commitd9ff9e89f02959bed4ffd4fdfbd1d93c0ff0fb71 (patch)
tree5b41abe7cfc748e40ada28c59745d8eb64a5bfd8 /book/src/main
parentac86ffc25a169585fffffd2535e856b9826e78ad (diff)
downloadhands-on-scala-js-d9ff9e89f02959bed4ffd4fdfbd1d93c0ff0fb71.tar.gz
hands-on-scala-js-d9ff9e89f02959bed4ffd4fdfbd1d93c0ff0fb71.tar.bz2
hands-on-scala-js-d9ff9e89f02959bed4ffd4fdfbd1d93c0ff0fb71.zip
better scrolling
Diffstat (limited to 'book/src/main')
-rwxr-xr-xbook/src/main/resources/css/side-menu.css6
1 files changed, 2 insertions, 4 deletions
diff --git a/book/src/main/resources/css/side-menu.css b/book/src/main/resources/css/side-menu.css
index ed06b5f..dafa1b5 100755
--- a/book/src/main/resources/css/side-menu.css
+++ b/book/src/main/resources/css/side-menu.css
@@ -1,10 +1,8 @@
#main{
- position: fixed;
max-width: 100%;
right: 0px;
left: 0px;
- height: 100%;
overflow-y: scroll
}
@@ -200,8 +198,8 @@ Hides the menu at `48em`, but modify this based on your app's needs.
padding-left: 250px; /* left col width "#menu" */
left: 0;
}
- #main{
- left: 250px;
+ #main-box{
+ padding-left: 250px;
}
#menu {
left: 250px;