From 8beb90a8244c566b62f2e4ae2be16ffd4bae4bdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Tue, 23 Jul 2019 21:50:21 +0200 Subject: [PATCH] Only make it sticky when there is space. --- src/info/templates/info.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/info/templates/info.html b/src/info/templates/info.html index 25b1276d..8a82a1c9 100644 --- a/src/info/templates/info.html +++ b/src/info/templates/info.html @@ -26,9 +26,11 @@ Info | {{ block.super }} visibility: hidden; } - .sticky { - position: sticky; - top: 100px; + @media (min-width: 992px) { + .sticky { + position: sticky; + top: 100px; + } }