Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
University of Michigan Fencing
club-theme
Commits
6908538d
Commit
6908538d
authored
May 06, 2016
by
key-amb
Browse files
Fix #12
parent
c1b54635
Changes
2
Hide whitespace changes
Inline
Side-by-side
static/css/bootie-docs.css
View file @
6908538d
...
...
@@ -190,7 +190,6 @@ main > article > section > table > tbody > tr:nth-of-type(odd) {
*/
div
#sidebar
{
position
:
fixed
;
}
/* Sidebar modules for boxing content */
...
...
static/js/bootie-docs.js
View file @
6908538d
...
...
@@ -6,9 +6,12 @@ window.onload = function() {
var
totalHeight
=
headHeight
+
mainHeight
+
footHeight
;
var
w
=
$
(
window
);
if
(
sideHeight
>
0
&&
sideHeight
<
mainHeight
)
{
if
(
w
.
width
()
>
$
(
"
main
"
).
width
()
+
$
(
"
#sidebar
"
).
width
()
&&
sideHeight
>
0
&&
sideHeight
<
mainHeight
)
{
$
(
"
.doc-sidebar
"
).
css
(
"
height
"
,
mainHeight
);
var
sideNode
=
$
(
"
#sidebar
"
);
sideNode
.
css
({
"
position
"
:
"
fixed
"
});
var
scrollStart
=
0
;
var
scrollStop
=
headHeight
+
mainHeight
-
sideHeight
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment