mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-08-09 12:00:38 +08:00
get spacing just right in agenda all-day area for languages
This commit is contained in:
+1
-1
@@ -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
@@ -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 la journée",
|
||||
|
||||
allDayHtml: "Toute la<br/>journée",
|
||||
eventLimitText: "en plus"
|
||||
});
|
||||
|
||||
+1
-1
@@ -6,6 +6,6 @@ $.fullCalendar.lang("id", {
|
||||
day: "Hari",
|
||||
list: "Agenda"
|
||||
},
|
||||
allDayText: "Sehari penuh",
|
||||
allDayHtml: "Sehari<br/>penuh",
|
||||
eventLimitText: "lebih"
|
||||
});
|
||||
|
||||
+1
-1
@@ -6,6 +6,6 @@ $.fullCalendar.lang("is", {
|
||||
day: "Dagur",
|
||||
list: "Dagskrá"
|
||||
},
|
||||
allDayText: "Allan daginn",
|
||||
allDayHtml: "Allan<br/>daginn",
|
||||
eventLimitText: "meira"
|
||||
});
|
||||
|
||||
+1
-1
@@ -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,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 */
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user