Skip to content

Commit 2f4ac8b

Browse files
author
Matt Karl
committed
Fixed task runner scrolling
1 parent 18238d6 commit 2f4ac8b

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

deploy/tasks.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<script src="assets/js/tasks.js"></script>
1010
</head>
1111
<body>
12-
<header>
12+
<header class="fixed">
1313
<h1>Task Runner</h1>
1414
</header>
1515
<div class="sidebar">

src/springroll/less/header.less

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,12 @@ header {
1919
background-image: -o-linear-gradient(top,#428bca 0,#2d6ca2 100%);
2020
background-image: linear-gradient(to bottom,#428bca 0,#2d6ca2 100%);
2121
background-repeat: repeat-x;
22+
23+
&.fixed {
24+
position:fixed;
25+
width:100%;
26+
top:0;
27+
left:0;
28+
z-index:100;
29+
}
2230
}

0 commit comments

Comments
 (0)