Skip to content

Commit

Permalink
finished
Browse files Browse the repository at this point in the history
  • Loading branch information
7mwang committed Feb 27, 2025
1 parent 0a81a0a commit ebf5f1f
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ show_reading_time: false
text-align: center;
padding: 20px 0;
font-size: 2.5em;
color: #6A1B9A;
color: #3c9ce2;
margin: 0;
background-color: #FFFFFF;
border-bottom: 3px solid #BA68C8;
background-color: #333;
border-bottom: 3px solid #3c9ce2;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
width: 100%;
}
Expand All @@ -108,11 +108,11 @@ show_reading_time: false
padding-left: 0;
}
.reminders li {
background-color: #F0E1F1;
background-color: #333;
margin: 10px 0; /* Keeps vertical spacing */
padding: 12px;
border-radius: 8px;
color: #6A1B9A;
color: #3c9ce2;
text-align: center;
width: fit-content; /* Keeps size based on content */
}
Expand Down Expand Up @@ -230,10 +230,11 @@ show_reading_time: false
});
}
// Display combined events on the calendar
initializeRemindersSidebar(events)
displayCalendar(events);
});
}
function displayCalendar(events) {
function displayCalendar(events) {
const calendarEl = document.getElementById('calendar');
calendar = new FullCalendar.Calendar(calendarEl, {
initialView: 'dayGridMonth',
Expand Down

0 comments on commit ebf5f1f

Please # to comment.