Skip to content

Commit

Permalink
fix conflict with checklist plugin styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Mearman committed Feb 22, 2023
1 parent 88c9ff2 commit c8bf803
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ class OmnivoreSettingTab extends PluginSettingTab {
help.innerHTML = `For more information, please visit the <a href="https://github.com/omnivore-app/obsidian-omnivore/blob/master/README.md">plugin's GitHub page</a> or email us at <a href="mailto:[email protected]">[email protected]</a>.`;

// 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++) {
Expand Down
8 changes: 4 additions & 4 deletions styles.css
Original file line number Diff line number Diff line change
@@ -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 (-) */
}

0 comments on commit c8bf803

Please sign in to comment.