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; visibility: hidden;
} }
.sticky { @media (min-width: 992px) {
position: sticky; .sticky {
top: 100px; position: sticky;
top: 100px;
}
} }
</style> </style>