Skip to content

Commit

Permalink
Fixing affix style, Use scrollspy
Browse files Browse the repository at this point in the history
  • Loading branch information
sideroad committed Jul 5, 2014
1 parent 193b111 commit 38b0eb5
Show file tree
Hide file tree
Showing 8 changed files with 3,208 additions and 511 deletions.
21 changes: 19 additions & 2 deletions build/build.css

Large diffs are not rendered by default.

2,994 changes: 2,831 additions & 163 deletions build/build.js

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion component.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
"yyx990803/vue": "*",
"components/jquery": "*",
"components/bootstrap": "*",
"lodash/lodash": "*"
"lodash/lodash": "*",
"visionmedia/superagent": "*",
"microjs/q": "*"
},
"development": {},
"license": "MIT",
Expand Down
24 changes: 21 additions & 3 deletions grunt-wpt-page.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
.sidebar .affix select{
width: 68%;
}

body {
position: relative;
}
.sidebar .affix{
position: static;
}
@media (min-width: 992px) {
.sidebar .affix{
width: 132px;
position: fixed;
}
}

@media (min-width: 1200px) {
.sidebar .affix{
width: 165px;
position: fixed;
}
}

Loading

0 comments on commit 38b0eb5

Please sign in to comment.