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 {
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
top: 70px;
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 350px) {
|
||||
.floatingTopButton {
|
||||
position: absolute
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 680px) {
|
||||
.card {
|
||||
width: 90%;
|
||||
|
|
|
@ -9,11 +9,17 @@
|
|||
}
|
||||
|
||||
.floatingTopButton {
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
top: 70px;
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 350px) {
|
||||
.floatingTopButton {
|
||||
position: absolute
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 680px) {
|
||||
.card {
|
||||
width: 90%;
|
||||
|
|
|
@ -5,11 +5,17 @@
|
|||
}
|
||||
|
||||
.floatingTopButton {
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
top: 70px;
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 350px) {
|
||||
.floatingTopButton {
|
||||
position: absolute
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 680px) {
|
||||
.card {
|
||||
width: 90%;
|
||||
|
|
Loading…
Reference in New Issue