Skip to content

Commit

Permalink
docs: change position of return to top button (#17688)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanujkanti4441 committed Nov 3, 2023
1 parent 528e1c0 commit ab8c60d
Showing 1 changed file with 30 additions and 2 deletions.
32 changes: 30 additions & 2 deletions docs/src/assets/scss/docs.scss
Expand Up @@ -166,7 +166,7 @@ pre[class*="language-"] {
height: 50px;
display: none;
position: fixed;
right: 50px;
right: 19.8vw;
bottom: 35px;
z-index: 1;
font-size: 1.5rem;
Expand All @@ -177,7 +177,35 @@ pre[class*="language-"] {
align-items: center;
background-color: var(--link-color);

@media (max-width: 800px) {
@media (max-width: 1299px) {
right: 18.99vw;
}

@media (max-width: 1100px) {
right: 19.4vw;
}

@media (max-width: 1060px) {
right: 19.9vw;
}

@media (max-width: 1024px) {
right: 22vw;
}

@media (max-width: 860px) {
right: 22.2vw;
}

@media (max-width: 850px) {
right: 22.6vw;
}

@media (max-width: 820px) {
right: 23.4vw;
}

@media (max-width: 799px) {
right: 35px;
}

Expand Down

0 comments on commit ab8c60d

Please sign in to comment.