Skip to content

Commit

Permalink
UI: forces full height of calendar on upcoming events (#630)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjaffeux authored Oct 23, 2024
1 parent 6a91839 commit 223697e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export default Component.extend({
this._loadCalendar().then(() => {
const fullCalendar = new window.FullCalendar.Calendar(calendarNode, {
...fullCalendarDefaultOptions(),
height: "parent",
eventPositioned: (info) => {
if (siteSettings.events_max_rows === 0) {
return;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.discourse-post-event-upcoming-events {
height: 100%;
.upcoming-events-table {
width: 100%;

Expand Down

0 comments on commit 223697e

Please sign in to comment.