Skip to content

Commit ab8c60d

Browse files
docs: change position of return to top button (#17688)
1 parent 528e1c0 commit ab8c60d

File tree

1 file changed

+30
-2
lines changed

1 file changed

+30
-2
lines changed

docs/src/assets/scss/docs.scss

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ pre[class*="language-"] {
166166
height: 50px;
167167
display: none;
168168
position: fixed;
169-
right: 50px;
169+
right: 19.8vw;
170170
bottom: 35px;
171171
z-index: 1;
172172
font-size: 1.5rem;
@@ -177,7 +177,35 @@ pre[class*="language-"] {
177177
align-items: center;
178178
background-color: var(--link-color);
179179

180-
@media (max-width: 800px) {
180+
@media (max-width: 1299px) {
181+
right: 18.99vw;
182+
}
183+
184+
@media (max-width: 1100px) {
185+
right: 19.4vw;
186+
}
187+
188+
@media (max-width: 1060px) {
189+
right: 19.9vw;
190+
}
191+
192+
@media (max-width: 1024px) {
193+
right: 22vw;
194+
}
195+
196+
@media (max-width: 860px) {
197+
right: 22.2vw;
198+
}
199+
200+
@media (max-width: 850px) {
201+
right: 22.6vw;
202+
}
203+
204+
@media (max-width: 820px) {
205+
right: 23.4vw;
206+
}
207+
208+
@media (max-width: 799px) {
181209
right: 35px;
182210
}
183211

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy