pages/fullcalendar-main/tests/manual/old/issue_244_aspectRatio_0.html
2024-03-06 14:33:17 +01:00

47 lines
1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<link href='../../dist/fullcalendar.css' rel='stylesheet' />
<link href='../../dist/fullcalendar.print.css' rel='stylesheet' media='print' />
<script src='../../node_modules/jquery/dist/jquery.js'></script>
<script src='../../node_modules/moment/moment.js'></script>
<script src='../../dist/fullcalendar.js'></script>
<script>
$(document).ready(function() {
$('#calendar').fullCalendar({
headerToolbar: {
left: 'prev,next today',
center: 'title',
right: 'month,week,dayGridWeek,day,dayGridDay'
},
initialView: 'week', // month view also looked scrunched
aspectRatio: 0
});
// shouldnt allow aspectRatios to *actually* go under .5
});
</script>
<style>
body {
margin-top: 40px;
text-align: center;
font-size: 13px;
font-family: "Lucida Grande",Helvetica,Arial,Verdana,sans-serif;
}
#calendar {
width: 900px;
margin: 0 auto;
}
</style>
</head>
<body>
<div id='calendar'></div>
</body>
</html>