From 272df2047233440dbe2ec320714f48bee8febe42 Mon Sep 17 00:00:00 2001 From: Christian Hofmaier Date: Tue, 16 Oct 2018 15:12:09 +0200 Subject: [locationinfo] scale calender if no events in timetable - scale the calender even without events in the timetable for a better view when multiple rooms selected - hide scrollbar for calenders (!important is neccessary!) --- modules-available/locationinfo/templates/frontend-default.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules-available/locationinfo/templates/frontend-default.html') diff --git a/modules-available/locationinfo/templates/frontend-default.html b/modules-available/locationinfo/templates/frontend-default.html index 006d2661..1e1a3ce6 100755 --- a/modules-available/locationinfo/templates/frontend-default.html +++ b/modules-available/locationinfo/templates/frontend-default.html @@ -327,6 +327,7 @@ optional: .wc-scrollable-grid { transition: height 500ms; background: rgba(0, 0, 0, 0); + overflow-y: hidden !important; } .wc-grid-timeslot-header, @@ -735,7 +736,7 @@ optional: timeslotHeight: 30, daysToShow: daysToShow, height: function () { - if (room.config.mode === 1 && room.config.vertical && (!room.timetable || !room.timetable.length)) return 20; + // if (room.config.mode === 1 && room.config.vertical && (!room.timetable || !room.timetable.length)) return 20; var height = $(window).height(); if (roomIds.length === 4) { height /= 2; -- cgit v1.2.3-55-g7522