From 65442c18188aa39b7d05eca558196ea4368b91a2 Mon Sep 17 00:00:00 2001 From: Tristan Date: Thu, 28 Jun 2018 14:51:25 -0500 Subject: [PATCH] Re-show checkboxes that were hidden by materialize --- app/assets/stylesheets/fixes.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 app/assets/stylesheets/fixes.scss diff --git a/app/assets/stylesheets/fixes.scss b/app/assets/stylesheets/fixes.scss new file mode 100644 index 000000000..2b2360e56 --- /dev/null +++ b/app/assets/stylesheets/fixes.scss @@ -0,0 +1,11 @@ +/* + * These are temporary fixes and/or hacks for issues seen in prod. Every line here + * should be assumed temporary and with an inherit desire to remove it with something + * cleaner. + */ + +// For some reason, the latest materializecss hides checkboxes. This un-hides them. +input[type="checkbox"]:not(:checked), input[type="checkbox"]:checked { + position: inherit !important; + opacity: inherit !important; +}