fix(SW-1111) added position for backToTopButton

This commit is contained in:
Pontus Dreij
2024-12-05 10:40:09 +01:00
parent 21b0306fd2
commit 098e35d8d7
6 changed files with 50 additions and 11 deletions

View File

@@ -5,7 +5,6 @@
align-items: flex-end;
position: fixed;
bottom: 20px;
right: 20px;
z-index: 1000;
background-color: var(--Base-Surface-Primary-light-Normal);
color: var(--Base-Button-Secondary-On-Fill-Normal);
@@ -28,6 +27,14 @@
display: none;
}
.left {
left: 32px;
}
.right {
right: 32px;
}
@media (min-width: 768px) {
.backToTopButtonText {
display: initial;