get spacing just right in agenda all-day area for languages

This commit is contained in:
Adam Shaw
2014-08-03 15:09:23 -07:00
parent a1b6794307
commit 8792f4ebbc
7 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -6,6 +6,6 @@ $.fullCalendar.lang("es", {
day: "Día",
list: "Agenda"
},
allDayText: "Todo el día",
allDayHtml: "Todo<br/>el día",
eventLimitText: "más"
});
+1 -4
View File
@@ -6,9 +6,6 @@ $.fullCalendar.lang("fr", {
day: "Jour",
list: "Mon planning"
},
// allDayHTML is discouraged but used here as a hack to get the breaking correct
allDayHtml: "Toute&nbsp;la journée",
allDayHtml: "Toute la<br/>journée",
eventLimitText: "en plus"
});
+1 -1
View File
@@ -6,6 +6,6 @@ $.fullCalendar.lang("id", {
day: "Hari",
list: "Agenda"
},
allDayText: "Sehari penuh",
allDayHtml: "Sehari<br/>penuh",
eventLimitText: "lebih"
});
+1 -1
View File
@@ -6,6 +6,6 @@ $.fullCalendar.lang("is", {
day: "Dagur",
list: "Dagskrá"
},
allDayText: "Allan daginn",
allDayHtml: "Allan<br/>daginn",
eventLimitText: "meira"
});
+1 -1
View File
@@ -6,7 +6,7 @@ $.fullCalendar.lang("it", {
day: "Giorno",
list: "Agenda"
},
allDayText: "Tutto il giorno",
allDayHtml: "Tutto il<br/>giorno",
eventLimitText: function(n) {
return "+altri " + n;
}
+2 -2
View File
@@ -2,11 +2,11 @@
/* AgendaView all-day area
--------------------------------------------------------------------------------------------------*/
.fc-agenda-view tbody .fc-row {
.fc-agenda-view .fc-day-grid .fc-row {
min-height: 3em; /* all-day section will never get shorter than this */
}
.fc-agenda-view tbody .fc-row .fc-content-skeleton {
.fc-agenda-view .fc-day-grid .fc-row .fc-content-skeleton {
padding-bottom: 1em; /* give space underneath events for clicking/selecting days */
}
+3
View File
@@ -106,6 +106,9 @@ function matchCellWidths(els) {
maxInnerWidth = innerWidth;
}
});
maxInnerWidth++; // sometimes not accurate of width the text needs to stay on one line. insurance
els.width(maxInnerWidth);
return maxInnerWidth;