Skip to content

Commit 803b8c5

Browse files
committed
style: add a gap for event dragging
Signed-off-by: Grigory Vodyanov <scratchx@gmx.com>
1 parent cda57b6 commit 803b8c5

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

css/fullcalendar.scss

+17
Original file line numberDiff line numberDiff line change
@@ -286,3 +286,20 @@
286286
// previously was 1px for no apparent reason
287287
margin-bottom: 0;
288288
}
289+
290+
// Leave some space for dragging
291+
.fc-timeGridDay-view, .fc-timeGridWeek-view {
292+
.fc-event-draggable, .fc-event-mirror {
293+
width: 90%;
294+
margin: auto;
295+
}
296+
297+
.fc-event-mirror {
298+
border: none !important;
299+
}
300+
301+
.fc-highlight {
302+
background: none !important;
303+
}
304+
305+
}

0 commit comments

Comments
 (0)