Fix problem with scrolling
This commit is contained in:
@@ -10,15 +10,4 @@
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
body {
|
||||
height: 100vw;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
toastui-calendar-time {
|
||||
height: 100% !important;
|
||||
}
|
||||
|
||||
.toastui-calendar-timegrid { height: 100%; }
|
||||
.toastui-calendar-panel.toastui-calendar-time { overflow-y: inherit; }
|
||||
*/
|
||||
24
app/assets/stylesheets/calendar.tailwind.css
Normal file
24
app/assets/stylesheets/calendar.tailwind.css
Normal file
@@ -0,0 +1,24 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
/*
|
||||
|
||||
@layer components {
|
||||
.btn-primary {
|
||||
@apply py-2 px-4 bg-blue-200;
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
body.calendar {
|
||||
height: 99vw;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
toastui-calendar-time {
|
||||
height: 99% !important;
|
||||
}
|
||||
|
||||
.toastui-calendar-timegrid { height: 99%; }
|
||||
.toastui-calendar-panel.toastui-calendar-time { overflow-y: inherit; }
|
||||
@@ -8,12 +8,12 @@
|
||||
<link rel="stylesheet" href="https://uicdn.toast.com/calendar/latest/toastui-calendar.min.css" />
|
||||
<script src="https://uicdn.toast.com/calendar/latest/toastui-calendar.min.js"></script>
|
||||
<%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": "reload" %>
|
||||
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
|
||||
<%= stylesheet_link_tag "calendar.tailwind", "data-turbo-track": "reload" %>
|
||||
|
||||
<%= javascript_importmap_tags %>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<body class="calendar">
|
||||
<main style="height: 100vw;">
|
||||
<%= yield %>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user