From 75e41171b939e121f4341202a9c3398869f9d8df Mon Sep 17 00:00:00 2001 From: Michael Herrmann Date: Wed, 25 Aug 2021 17:32:08 +0200 Subject: [PATCH] Add CSS classes for more fine-grained styling 1. fce-cols-day-header 2. fce-cols-col-header --- fullcalendar-columns.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fullcalendar-columns.js b/fullcalendar-columns.js index d6b530b..7728a21 100644 --- a/fullcalendar-columns.js +++ b/fullcalendar-columns.js @@ -1,5 +1,5 @@ /*! - * fullcalendar-columns v1.12 + * fullcalendar-columns v1.13 * Docs & License: https://github.com/mherrmann/fullcalendar-columns * (c) Michael Herrmann */ @@ -117,9 +117,9 @@ if (isFirstCellForDay) { // Make the cell appear centered: var posPercent = 100 * that.numColumns; - html = '
' - + $html.html() + '
'; + html = '
' + $html.html() + '
'; } else { html = '
 
'; $html.css('border-left-width', 0); @@ -130,8 +130,8 @@ // Use the prefix 'fce-col-' (as in "FullCalendar // extension") for classes pertaining only to // fullcalendar-columns: - html += '
' + - that.columnHeaders[cellOrig.column] + '
'; + html += '
' + + that.columnHeaders[cellOrig.column] + '
'; } $html.html(html); return $html[0].outerHTML;