From 7ece25860a13917d1f8af3a3e3885b76ac5a593c Mon Sep 17 00:00:00 2001 From: Stephen Cameron Date: Thu, 9 Apr 2020 13:07:52 +0200 Subject: [PATCH] Prevent flatpickr CSS from being purged. WIP #3445 @0:05 --- .../themes/CCV/resources/assets/styles/flatpickr.styl | 7 +++++++ 1 file changed, 7 insertions(+) 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 */ -- 2.39.5