Преглед изворни кода

restore space below timegrid event

Adam Shaw пре 4 година
родитељ
комит
ae38398e17
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      packages/timegrid/src/styles/timegrid-event.css

+ 2 - 1
packages/timegrid/src/styles/timegrid-event.css

@@ -44,6 +44,7 @@
   color: var(--fc-event-more-text-color);
   background: var(--fc-event-more-bg-color);
   cursor: pointer;
+  margin-bottom: 1px; // match space below fc-timegrid-event
 }
 
 .fc-timegrid-event-more-inner { // has fc-sticky
@@ -55,7 +56,7 @@
   & .fc-timegrid-event {
     position: absolute; // absolute WITHIN the harness
     top: 0; // for when not yet positioned
-    bottom: 0; // "
+    bottom: 1px; // give some space from bottom
     left: 0;
     right: 0;
   }