Keep reload buttons' position fixed on scroll (#1573)
* Makes reload buttons' position fixed * Changes reload buttons' positions to absolute on narrow enough screens Co-authored-by: Preston <freetubeapp@protonmail.com>
This commit is contained in:
parent
d57d7b9b6e
commit
539b084217
|
@ -5,11 +5,17 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.floatingTopButton {
|
.floatingTopButton {
|
||||||
position: absolute;
|
position: fixed;
|
||||||
top: 70px;
|
top: 70px;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 350px) {
|
||||||
|
.floatingTopButton {
|
||||||
|
position: absolute
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 680px) {
|
@media only screen and (max-width: 680px) {
|
||||||
.card {
|
.card {
|
||||||
width: 90%;
|
width: 90%;
|
||||||
|
|
|
@ -9,11 +9,17 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.floatingTopButton {
|
.floatingTopButton {
|
||||||
position: absolute;
|
position: fixed;
|
||||||
top: 70px;
|
top: 70px;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 350px) {
|
||||||
|
.floatingTopButton {
|
||||||
|
position: absolute
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 680px) {
|
@media only screen and (max-width: 680px) {
|
||||||
.card {
|
.card {
|
||||||
width: 90%;
|
width: 90%;
|
||||||
|
|
|
@ -5,11 +5,17 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.floatingTopButton {
|
.floatingTopButton {
|
||||||
position: absolute;
|
position: fixed;
|
||||||
top: 70px;
|
top: 70px;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 350px) {
|
||||||
|
.floatingTopButton {
|
||||||
|
position: absolute
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 680px) {
|
@media only screen and (max-width: 680px) {
|
||||||
.card {
|
.card {
|
||||||
width: 90%;
|
width: 90%;
|
||||||
|
|
Loading…
Reference in New Issue