Skip to content

Commit

Permalink
Fix for Edge going crazy with position sticky
Browse files Browse the repository at this point in the history
  • Loading branch information
kirkone committed Sep 4, 2018
1 parent 99ac650 commit 8e24f35
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/Website/Style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ body, html {
letter-spacing: 1px;
color: @accentcolor;
background-color: @backgroundcolor;
overflow: hidden;
}

#nav {
Expand Down Expand Up @@ -274,11 +275,14 @@ body > a {
}

#image{
position: sticky;
position: fixed;
right: 0;
left: 0;
top:0;
}

#description{
margin-top: 100vh;
position: relative;

> div {
Expand Down Expand Up @@ -358,8 +362,7 @@ body > a {
}

#description{
top: 65vh;
height: 100vh;
top: 100px;

> div{
margin-bottom: 2rem;
Expand Down

0 comments on commit 8e24f35

Please sign in to comment.