mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-06-27 16:10:13 +08:00
adjust spacing for events, match old versions
This commit is contained in:
@@ -38,7 +38,6 @@
|
||||
.fc-basic-view td.fc-week-number span,
|
||||
.fc-basic-view td.fc-day-number {
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
||||
.fc-basic-view .fc-week-number {
|
||||
|
||||
@@ -380,7 +380,7 @@ temporary rendered events).
|
||||
.fc-row .fc-content-skeleton {
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
padding-bottom: 1px; /* matches the space between events */
|
||||
padding-bottom: 2px; /* matches the space above the events */
|
||||
}
|
||||
|
||||
.fc-row .fc-helper-skeleton {
|
||||
@@ -451,7 +451,11 @@ be a descendant of the grid when it is being dragged.
|
||||
*/
|
||||
|
||||
.fc-day-grid-event {
|
||||
margin: 1px 1px 0; /* spacing between events and edges */
|
||||
margin: 1px 2px 0; /* spacing between events and edges */
|
||||
}
|
||||
|
||||
tr:first-child > td > .fc-day-grid-event {
|
||||
margin-top: 2px; /* a little bit more space before the first event */
|
||||
}
|
||||
|
||||
/* events that are continuing to/from another week. kill rounded corners and butt up against edge */
|
||||
|
||||
@@ -64,7 +64,7 @@ tbody,
|
||||
/* give back the bottom spacing that was taken away from the content-skeleton's padding (above) */
|
||||
/* only works on modern browsers */
|
||||
.fc tbody .fc-row .fc-content-skeleton table tr:last-child td {
|
||||
padding-bottom: 1px;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
||||
/* sets a min-height on the event skeleton. for IE8. was overexaggerating this, so make small */
|
||||
|
||||
Reference in New Issue
Block a user