From 8a57e3f9fd8ec530b10838034efd8c2c609c0e52 Mon Sep 17 00:00:00 2001 From: Balint Date: Thu, 12 Dec 2019 19:42:31 +0100 Subject: [PATCH] fix #75 in upstream --- css/style.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/css/style.css b/css/style.css index 314cf05..de5fd17 100644 --- a/css/style.css +++ b/css/style.css @@ -1,10 +1,11 @@ #city-list-left { + display: flex; + flex-direction: column; width: 250px; height: 100%; float: left; -moz-box-sizing: border-box; box-sizing: border-box; background-color: #fff; - padding-bottom: 44px; border-left: 1px solid #ddd; border-right: 1px solid #ddd; -webkit-user-select: none; @@ -60,9 +61,8 @@ #city-right { padding: 45px; - height: 100%; - overflow-y: hidden; - overflow-x: auto; + height: calc(100vh - 50px); /* substract header */ + overflow: auto; top: 0; bottom: 0; right: 0;