summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo
diff options
context:
space:
mode:
authorChristian Hofmaier2018-10-16 15:12:09 +0200
committerChristian Hofmaier2018-10-16 15:12:09 +0200
commit272df2047233440dbe2ec320714f48bee8febe42 (patch)
treef3e38f5acdb3f1f74775db9a02d9175f30424bb3 /modules-available/locationinfo
parent[adduser] remove bad use of "'" in template-tags (diff)
downloadslx-admin-272df2047233440dbe2ec320714f48bee8febe42.tar.gz
slx-admin-272df2047233440dbe2ec320714f48bee8febe42.tar.xz
slx-admin-272df2047233440dbe2ec320714f48bee8febe42.zip
[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!)
Diffstat (limited to 'modules-available/locationinfo')
-rwxr-xr-xmodules-available/locationinfo/templates/frontend-default.html3
1 files changed, 2 insertions, 1 deletions
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;