From 6b0d37f854a4dbeaf5de62cbc68a946862a3e3df Mon Sep 17 00:00:00 2001 From: Santiago Lamora Date: Thu, 23 Jan 2020 17:44:25 +0100 Subject: [PATCH] Fix sidebar position (avoid scrolling). Related to 3890fec1113077ad89536ac9586c453c362a9eb5 --- musician/static/musician/css/default.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/musician/static/musician/css/default.css b/musician/static/musician/css/default.css index a95a573..3fbe7da 100644 --- a/musician/static/musician/css/default.css +++ b/musician/static/musician/css/default.css @@ -43,6 +43,9 @@ a:hover { min-width: 280px; max-width: 280px; min-height: 100vh; + + position: fixed; + z-index: 999; display: flex; flex-direction: column; @@ -127,6 +130,7 @@ a:hover { background-position: right 5% top 10%; color: #343434; padding-left: 2rem; + margin-left: 280px; /** sidebar width **/ } /** services **/