Fix improperly positioned sticky element
This commit is contained in:
parent
944629b422
commit
2e2e5bfb51
5 changed files with 2 additions and 6 deletions
|
@ -5,10 +5,8 @@
|
||||||
@keyframes intro {
|
@keyframes intro {
|
||||||
0% {
|
0% {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transform: translate3d(0, -25px, 0)
|
|
||||||
}
|
}
|
||||||
100% {
|
100% {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
transform: translate3d(0, 0, 0)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -9,7 +9,6 @@
|
||||||
.breadcrumbs {
|
.breadcrumbs {
|
||||||
@include container;
|
@include container;
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
position: relative;
|
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
padding-left: 2em;
|
padding-left: 2em;
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
#main {
|
#main {
|
||||||
@include container;
|
@include container;
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
position: relative;
|
|
||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
padding-left: 2em;
|
padding-left: 2em;
|
||||||
padding-right: 2em;
|
padding-right: 2em;
|
||||||
|
|
|
@ -330,7 +330,7 @@ body:hover .visually-hidden button {
|
||||||
@include clearfix();
|
@include clearfix();
|
||||||
position: -webkit-sticky;
|
position: -webkit-sticky;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 3em;
|
top: 2em;
|
||||||
|
|
||||||
> * {
|
> * {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue