adjust spacing for events, match old versions

This commit is contained in:
Adam Shaw
2014-08-25 00:55:08 -07:00
parent bd52446aa2
commit 5d05c2392b
3 changed files with 7 additions and 4 deletions
-1
View File
@@ -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 {
+6 -2
View File
@@ -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 */
+1 -1
View File
@@ -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 */