Skip to content

Commit f96d2f8

Browse files
committed
fix: move calendar height to css
1 parent 5292066 commit f96d2f8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

public/css/main.css

+4
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@
66
display: grid;
77
height: 100%;
88
}
9+
10+
#calendar {
11+
height: 800px;
12+
}

public/js/main.js

-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ const loadCalendar = async () => {
168168
})
169169
;
170170

171-
document.querySelector('#calendar').style.height = '800px';
172171
document.querySelector('#calendarToday').onclick = () => { calendar.today(); };
173172
document.querySelector('#calendarNext').onclick = () => { calendar.next(); };
174173
document.querySelector('#calendarPrevious').onclick = () => { calendar.prev(); };

0 commit comments

Comments
 (0)