change technique for spacing around events

This commit is contained in:
Adam Shaw
2014-08-25 21:36:15 -07:00
parent 6c4fed2ffd
commit b2fbdfa092
3 changed files with 5 additions and 7 deletions
+1
View File
@@ -12,6 +12,7 @@
}
.fc-agenda-view .fc-day-grid .fc-row .fc-content-skeleton {
padding-top: 1px; /* add a pixel to make sure there are 2px padding above events */
padding-bottom: 1em; /* give space underneath events for clicking/selecting days */
}
+4 -3
View File
@@ -6,9 +6,9 @@
.fc-basicWeek-view .fc-content-skeleton,
.fc-basicDay-view .fc-content-skeleton {
/* in basicWeek and basicDay views, where we are sure there are no day numbers, ensure
a space at the bottom of the cell to allow for day selecting/clicking */
padding-bottom: 1em;
/* we are sure there are no day numbers in these views, so... */
padding-top: 1px; /* add a pixel to make sure there are 2px padding above events */
padding-bottom: 1em; /* ensure a space at bottom of cell for user selecting/clicking */
}
.fc-basic-view tbody .fc-row {
@@ -38,6 +38,7 @@
.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 {
-4
View File
@@ -458,10 +458,6 @@ be a descendant of the grid when it is being dragged.
padding: 0 1px;
}
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 */
.fc-ltr .fc-day-grid-event.fc-not-start,