From 165c792bacec476dfb8484aeaa896891592536cb Mon Sep 17 00:00:00 2001 From: nathangray Date: Thu, 10 May 2018 09:41:37 -0600 Subject: [PATCH] Calendar - Prevent event list from going to far down (off bottom of screen) --- calendar/templates/pixelegg/app.css | 2 ++ calendar/templates/pixelegg/app.less | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/calendar/templates/pixelegg/app.css b/calendar/templates/pixelegg/app.css index d6a1e7872d..7060f81d5e 100755 --- a/calendar/templates/pixelegg/app.css +++ b/calendar/templates/pixelegg/app.css @@ -1506,6 +1506,8 @@ img.calendar_print_appicon { #calendar-list { /* Keeps the scrollbar in the window in chrome */ margin-right: 10px; + /* Prevents going to far down (off bottom)*/ + height: calc(100% - 75px); } #calendar_sidebox_content .egw_fw_ui_category_content { padding-left: 0px !important; diff --git a/calendar/templates/pixelegg/app.less b/calendar/templates/pixelegg/app.less index 1f819046f8..a1336d19c6 100755 --- a/calendar/templates/pixelegg/app.less +++ b/calendar/templates/pixelegg/app.less @@ -27,7 +27,9 @@ #calendar-list { /* Keeps the scrollbar in the window in chrome */ - margin-right: 10px + margin-right: 10px; + /* Prevents going to far down (off bottom)*/ + height: calc(100% - 75px); } // ************************************************