Only make it sticky when there is space.

This commit is contained in:
Víðir Valberg Guðmundsson 2019-07-23 21:50:21 +02:00
parent ee00ae3ee5
commit 8beb90a824

View file

@ -26,9 +26,11 @@ Info | {{ block.super }}
visibility: hidden;
}
.sticky {
position: sticky;
top: 100px;
@media (min-width: 992px) {
.sticky {
position: sticky;
top: 100px;
}
}
</style>