Skip to content

Commit

Permalink
keep artice header sticky
Browse files Browse the repository at this point in the history
  • Loading branch information
levito committed Mar 19, 2021
1 parent 9508eb3 commit c2bfcef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/_content-wrap.less
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@
background-color: transparent !important;

.header {
position: sticky !important;
top: -@headline-height - @padding;
padding: @padding @padding 0;
opacity: 1;
Expand Down

0 comments on commit c2bfcef

Please sign in to comment.