UI: forces full height of calendar on upcoming events (#630)
This commit is contained in:
parent
6a918390a5
commit
223697e880
|
|
@ -45,6 +45,7 @@ export default Component.extend({
|
||||||
this._loadCalendar().then(() => {
|
this._loadCalendar().then(() => {
|
||||||
const fullCalendar = new window.FullCalendar.Calendar(calendarNode, {
|
const fullCalendar = new window.FullCalendar.Calendar(calendarNode, {
|
||||||
...fullCalendarDefaultOptions(),
|
...fullCalendarDefaultOptions(),
|
||||||
|
height: "parent",
|
||||||
eventPositioned: (info) => {
|
eventPositioned: (info) => {
|
||||||
if (siteSettings.events_max_rows === 0) {
|
if (siteSettings.events_max_rows === 0) {
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
.discourse-post-event-upcoming-events {
|
.discourse-post-event-upcoming-events {
|
||||||
|
height: 100%;
|
||||||
.upcoming-events-table {
|
.upcoming-events-table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue