Moving jump-to-bottom button to right

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2020-10-13 14:33:18 +03:00
1 parent 0b5f410d67
commit f467ebfa4e
1 file changed
+2 -3
+2 -3
View File
@@ -27,7 +27,7 @@
display: block; display: block;
height: 0; height: 0;
border-top: 1px solid $primary; border-top: 1px solid $primary;
margin: $margin * 2; margin: $margin * 2 0;
&:after { &:after {
position: absolute; position: absolute;
@@ -44,11 +44,10 @@
.jump-to-bottom { .jump-to-bottom {
position: absolute; position: absolute;
font-size: small; font-size: small;
left: 50%; right: 30px;
padding: $unit / 2 $unit * 1.5; padding: $unit / 2 $unit * 1.5;
border-radius: $unit * 2; border-radius: $unit * 2;
opacity: 0; opacity: 0;
transform: translateX(-50%);
transition: opacity 0.2s; transition: opacity 0.2s;
&.active { &.active {