diff --git a/scss/_back-to-top.scss b/scss/_back-to-top.scss index 4c3480d0ed..b5c7cd6439 100644 --- a/scss/_back-to-top.scss +++ b/scss/_back-to-top.scss @@ -24,7 +24,7 @@ position: sticky; top: $back-to-top-link-offset-top; pointer-events: all; - @include button-icon($back-to-top-icon, $size: $back-to-top-icon-width $back-to-top-icon-height, $pseudo: "after"); + @include button-icon($back-to-top-icon, $size: $back-to-top-icon-width $back-to-top-icon-height, $pseudo: "after", $position: calc(50% - 1px)); &::after { transform: rotate(.25turn) #{"/* rtl:ignore */"}; @@ -46,7 +46,6 @@ white-space: nowrap; content: attr(data-#{$boosted-prefix}label); background-color: $back-to-top-title-bg-color; - transform: translateY(1px); } &[data-#{$boosted-prefix}label]:hover::before,