Skip to content

Commit

Permalink
Fix: Thumbnail navigation now animates correctly in IE11 (#972)
Browse files Browse the repository at this point in the history
  • Loading branch information
jstoffan authored Apr 2, 2019
1 parent cb6fe25 commit cf53a79
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/lib/viewers/doc/_docBase.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,24 +90,24 @@ $thumbnail-sidebar-width: 226px;
}
}

@include bp-breakpoint-medium {
$bp-thumbnails-animation: 300ms cubic-bezier(.4, 0, .2, 1);

@keyframes bp-thumbnails-open {
0% {
display: none;
transform: translateX(-$thumbnail-sidebar-width);
}
@keyframes bp-thumbnails-open {
0% {
display: none;
transform: translateX(-$thumbnail-sidebar-width);
}

1% {
display: flex;
transform: translateX(-$thumbnail-sidebar-width);
}
1% {
display: flex;
transform: translateX(-$thumbnail-sidebar-width);
}

100% {
transform: translateX(0);
}
100% {
transform: translateX(0);
}
}

@include bp-breakpoint-medium {
$bp-thumbnails-animation: 300ms cubic-bezier(.4, 0, .2, 1);

&.bp-loaded {
.bp-content {
Expand Down

0 comments on commit cf53a79

Please sign in to comment.