🐛 Fixed the back top button in sidebar margin pixes.

This commit is contained in:
凡梦星尘 2022-06-29 08:08:19 +08:00
parent c8089db11f
commit 748c44e25d

View File

@ -83,7 +83,7 @@
// Only when back2top.sidebar is true, apply the following styles // Only when back2top.sidebar is true, apply the following styles
.back-to-top { .back-to-top {
background: var(--body-bg-color); background: var(--body-bg-color);
margin: 8px - $sidebar-offset -10px -18px; margin: 8px -#{$sidebar-offset} -10px -18px;
&.back-to-top-on { &.back-to-top-on {
margin-top: 16px; margin-top: 16px;