mirror of
https://github.com/grocy/grocy.git
synced 2025-08-07 06:53:30 +00:00
Fixed FullCalendar height was not calculated dynamically (fixes #549)
This commit is contained in:
parent
3af5bd8e29
commit
e9f55de987
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
### Meal plan improvements
|
### Meal plan improvements
|
||||||
- Improved that all add-dialogs can be submitted by using `ENTER` and that the next input is automatically selected after selecting a recipe/product
|
- Improved that all add-dialogs can be submitted by using `ENTER` and that the next input is automatically selected after selecting a recipe/product
|
||||||
|
- Fixed that the meal plan not used the full height on mobile devices (also applies/fixes the same for the calendar)
|
||||||
|
|
||||||
### General & other improvements/fixes
|
### General & other improvements/fixes
|
||||||
- Optimized the top navbar height and overall spacing to waste less space
|
- Optimized the top navbar height and overall spacing to waste less space
|
||||||
|
@ -14,7 +14,8 @@ var calendar = $("#calendar").fullCalendar({
|
|||||||
"weekNumbers": Grocy.CalendarShowWeekNumbers,
|
"weekNumbers": Grocy.CalendarShowWeekNumbers,
|
||||||
"defaultView": ($(window).width() < 768) ? "agendaDay" : "month",
|
"defaultView": ($(window).width() < 768) ? "agendaDay" : "month",
|
||||||
"firstDay": firstDay,
|
"firstDay": firstDay,
|
||||||
"eventLimit": true,
|
"eventLimit": false,
|
||||||
|
"height": "auto",
|
||||||
"eventSources": fullcalendarEventSources
|
"eventSources": fullcalendarEventSources
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -18,10 +18,11 @@ var calendar = $("#calendar").fullCalendar({
|
|||||||
"right": "prev,today,next"
|
"right": "prev,today,next"
|
||||||
},
|
},
|
||||||
"weekNumbers": false,
|
"weekNumbers": false,
|
||||||
"eventLimit": true,
|
"eventLimit": false,
|
||||||
"eventSources": fullcalendarEventSources,
|
"eventSources": fullcalendarEventSources,
|
||||||
"defaultView": ($(window).width() < 768) ? "basicDay" : "basicWeek",
|
"defaultView": ($(window).width() < 768) ? "basicDay" : "basicWeek",
|
||||||
"firstDay": firstDay,
|
"firstDay": firstDay,
|
||||||
|
"height": "auto",
|
||||||
"viewRender": function(view)
|
"viewRender": function(view)
|
||||||
{
|
{
|
||||||
if (firstRender)
|
if (firstRender)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user