From: Stephen Cameron Date: Thu, 9 Apr 2020 11:07:52 +0000 (+0200) Subject: Prevent flatpickr CSS from being purged. WIP #3445 @0:05 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=7ece25860a13917d1f8af3a3e3885b76ac5a593c;p=ccv-wordpress.git Prevent flatpickr CSS from being purged. WIP #3445 @0:05 --- diff --git a/wp-content/themes/CCV/resources/assets/styles/flatpickr.styl b/wp-content/themes/CCV/resources/assets/styles/flatpickr.styl index f4f7d4a..27da9ea 100644 --- a/wp-content/themes/CCV/resources/assets/styles/flatpickr.styl +++ b/wp-content/themes/CCV/resources/assets/styles/flatpickr.styl @@ -15,6 +15,10 @@ $selectedDayForeground = #fff $noCalendarBorder = true +//=============================== + +/*! purgecss start ignore */ + @import '~flatpickr/src/style/flatpickr.styl' // Fix CSS bug (see: https://github.com/flatpickr/flatpickr/issues/1300#issuecomment-385304463) @@ -31,3 +35,6 @@ $noCalendarBorder = true &:after border-top-color: #fff margin-top: -1px + + +/*! purgecss end ignore */