Fix improperly positioned sticky element

This commit is contained in:
Michael Rose 2016-04-12 10:42:00 -04:00
parent 944629b422
commit 2e2e5bfb51
5 changed files with 2 additions and 6 deletions

View file

@ -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)
} }
} }

View file

@ -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;

View file

@ -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;

View file

@ -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