1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Moving jump-to-bottom button to right

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2020-10-13 14:33:18 +03:00
parent 0b5f410d67
commit f467ebfa4e

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 {