Skip to content

Commit 15765b2

Browse files
authored
Merge pull request cds-hooks#401 from afzal442/fix/sticky
Made side-bar sticky
2 parents 048454e + 8481d5d commit 15765b2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

themes/buildpacks/assets/scss/components/_sidebar.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
.sidebar {
22
font-size: 1rem;
33
padding: 10px 0 0 0;
4+
position: -webkit-sticky;
5+
position: sticky;
6+
top: 0;
47

58
ul {
69
list-style: none;

0 commit comments

Comments
 (0)