diff options
author | Christian Hofmaier | 2018-10-16 15:12:09 +0200 |
---|---|---|
committer | Christian Hofmaier | 2018-10-16 15:12:09 +0200 |
commit | 272df2047233440dbe2ec320714f48bee8febe42 (patch) | |
tree | f3e38f5acdb3f1f74775db9a02d9175f30424bb3 /modules-available | |
parent | [adduser] remove bad use of "'" in template-tags (diff) | |
download | slx-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')
-rwxr-xr-x | modules-available/locationinfo/templates/frontend-default.html | 3 |
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; |