style: use horizontalPadding to calculate right property

This commit is contained in:
Miodec 2025-08-15 20:47:43 +02:00
parent aac60fe480
commit 3879e58f93

View file

@ -1233,7 +1233,7 @@
&:hover {
.shareButton {
opacity: 1;
right: -3.25em;
right: calc((1.25em + (var(--horizontalPadding) * 2)) * -1);
}
}
}