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 (-) */ }