From 964968be39f7d70c12c41eb77c51e94e1c2ccd6a Mon Sep 17 00:00:00 2001 From: Paul Twohey Date: Sat, 31 Aug 2019 18:38:16 -0700 Subject: use class="hidden" instead of creating new classes Use class "hidden" instead of styled classes to ensure that input elments stay hidden when the Content-Security-Policy header has "style-src 'self';" --- assets/_shortcodes.scss | 8 -------- 1 file changed, 8 deletions(-) (limited to 'assets/_shortcodes.scss') diff --git a/assets/_shortcodes.scss b/assets/_shortcodes.scss index 70842b5..38e105f 100644 --- a/assets/_shortcodes.scss +++ b/assets/_shortcodes.scss @@ -31,10 +31,6 @@ padding: $padding-16; } - .book-expand-expander { - display: none; - } - input[type="checkbox"]:checked + .book-expand-content { display: block; } @@ -60,10 +56,6 @@ cursor: pointer; } - .book-tabs-radio { - display: none; - } - .book-tabs-content { order: 999; //Move content blocks to the end width: 100%; -- cgit v1.2.3