Skip to content

Commit

Permalink
fix(): fix preview arrows #144
Browse files Browse the repository at this point in the history
  • Loading branch information
Ks89 committed Aug 14, 2018
1 parent 2369804 commit efd2dfd
Showing 1 changed file with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $nav-transition-time: .5s;
$nav-side-margin: 10px;

:host {
width: 100%;
position: relative;
margin-top: $preview-image-top-margin;
margin-bottom: $preview-image-bottom-margin;
}
Expand All @@ -61,6 +61,8 @@ $nav-side-margin: 10px;
}

.nav {
position: absolute;
top: calc( 50% - 7px);
color: $nav-color;
//animation: animatezoom $nav-animation-time;
cursor: pointer;
Expand All @@ -74,10 +76,20 @@ $nav-side-margin: 10px;
> .nav-left {
@extend .nav;
margin-right: $nav-side-margin;
left: 10px;

> .left-arrow-preview-image {
opacity: 1;
}
}

> .nav-right {
@extend .nav;
margin-left: $nav-side-margin;
right: 10px;

> .right-arrow-preview-image {
opacity: 1;
}
}
}

0 comments on commit efd2dfd

Please # to comment.