From c8bf80376d902d930282b15c62709f75bdeb8337 Mon Sep 17 00:00:00 2001 From: Joseph Mearman Date: Wed, 22 Feb 2023 22:18:57 +0000 Subject: [PATCH] fix conflict with checklist plugin styling --- src/main.ts | 2 +- styles.css | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main.ts b/src/main.ts index 1f01bbe..13673b5 100644 --- a/src/main.ts +++ b/src/main.ts @@ -594,7 +594,7 @@ class OmnivoreSettingTab extends PluginSettingTab { help.innerHTML = `For more information, please visit the plugin's GitHub page or email us at feedback@omnivore.app.`; // script to make collapsible sections - const coll = document.getElementsByClassName("collapsible"); + const coll = document.getElementsByClassName("omnivore-collapsible"); let i; for (i = 0; i < coll.length; i++) { diff --git a/styles.css b/styles.css index 6f31efe..7625532 100644 --- a/styles.css +++ b/styles.css @@ -1,21 +1,21 @@ /* Style the button that is used to open and close the collapsible content */ -.collapsible { +.omnivore-collapsible { cursor: pointer; border-bottom: outset; } /* Style the collapsible content. Note: hidden by default */ -.content { +.omnivore-content { max-height: 0; overflow: hidden; transition: max-height 0.2s ease-out; } -.collapsible:after { +.omnivore-collapsible:after { content: "\02795"; /* Unicode character for "plus" sign (+) */ float: right; } -.active:after { +.omnivore-active:after { content: "\2796"; /* Unicode character for "minus" sign (-) */ }