Skip to content

Commit

Permalink
fix(content): clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyurec committed Mar 6, 2023
1 parent 7c79755 commit 4446a6b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 20 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## Other my plugins/themes
* 🪓 [Awesome UI](https://github.com/yoyurec/logseq-awesome-ui)
* 📝 [Awesome Content](https://github.com/yoyurec/logseq-awesome-content)
* 📋 [Awesome Props](https://github.com/yoyurec/logseq-awesome-props)
*[Awesome Links](https://github.com/yoyurec/logseq-awesome-links)
*[Tabler picker](https://github.com/yoyurec/logseq-tabler-picker)
Expand Down
20 changes: 2 additions & 18 deletions src/modules/content/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -170,25 +170,11 @@ td {
*/
:not(pre):not(mark)>code {
padding: 2px 5px !important;
border: 2px dotted var(--ls-border-color);
border: 1px solid var(--ls-border-color);
font-family: var(--awSt-code-font);
font-size: calc(var(--awSt-content-font-size) - 2px);
font-variant-ligatures: contextual;
}
.CodeMirror {
font-family: var(--awSt-code-font);
line-height: 1.4em;
}
.cm-s-solarized.cm-s-light,
.cm-s-solarized.cm-s-dark {
text-shadow: none;
}
.extensions__code {
border: 1px dashed var(--ls-border-color);
}
.extensions__code .code-editor {
margin-top: 0;
}
.cm-s-solarized.cm-s-light,
.cm-s-solarized.cm-s-dark {
color: var(--ls-page-inline-code-color);
Expand All @@ -209,10 +195,8 @@ td {
<<<< END: Code
*/

/* TODO: add flashcard vars */
div[data-refs-self*='"card"'] {
background-color: var(--awSt-flashcard-bg);
}

.mermaid svg {
border: 2px dotted var(--ls-border-color);
}
4 changes: 2 additions & 2 deletions src/settings/modalObserver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const modalCallback: MutationCallback = (mutationsList) => {
body.dataset[globals.isAwStSettingsPopupOpenedAttr] = '';
setTimeout(() => {
tweakPluginSettings();
}, 1000);
}, 500);
}
}
if (removedNode && removedNode.childNodes.length) {
Expand Down Expand Up @@ -88,7 +88,7 @@ const subModalCallback: MutationCallback = (mutationsList) => {
// "Settings -> Plugins -> AwesomeStyler" OR "Plugins -> AwesomeStyler -> Settings"
setTimeout(() => {
tweakPluginSettings();
}, 1000);
}, 500);
}
}
}
Expand Down

0 comments on commit 4446a6b

Please sign in to comment.