Skip to content

Commit

Permalink
Set calendar width to 100% of parent
Browse files Browse the repository at this point in the history
This is to fix an issue in Firefox where the calendar always has one column even if there was room for more.
  • Loading branch information
amym-li committed Jun 2, 2023
1 parent fbd5c52 commit 8b1e590
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion css/fullcalendar_view.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
:root .views-view-fullcalendar-solr {
.views-view-fullcalendar-solr {
--fc-neutral-bg-color: none;
--fc-border-color: none;
width: 100%;
}

.views-view-fullcalendar-solr .fc-daygrid-day-frame {
Expand Down Expand Up @@ -30,4 +31,5 @@ a[data-navlink][title^="0"]) {
display: flex;
justify-content: space-between;
align-items: baseline;
padding: 0 1.2em;
}

0 comments on commit 8b1e590

Please sign in to comment.