Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/* Add the Obsidian purple border */
.markdown-source-view.mod-cm6.is-live-preview .cm-preview-code-block {
border: 4px solid var(--interactive-accent);
border-radius: 10px;
}
/* Hide query syntax in search query embeds */
.markdown-source-view.mod-cm6.is-live-preview .cm-preview-code-block .internal-query div.internal-query-header {
display: none;
}
.markdown-source-view.mod-cm6.is-live-preview .cm-preview-code-block .internal-query {
border-top: none;
border-bottom: none;
}
/* Formatting search query embeds */
.markdown-source-view.mod-cm6.is-live-preview .cm-preview-code-block .internal-query {
padding-top: 10px;
}
.markdown-source-view.mod-cm6.is-live-preview .cm-preview-code-block .internal-query .search-results-children > div:last-child,
.markdown-source-view.mod-cm6.is-live-preview .cm-preview-code-block .internal-query .search-results-children > div:last-child > .search-result-file-matches {
margin-bottom: 0;
padding-bottom: 0;
}
@GitMurf
Copy link
Author

GitMurf commented Feb 8, 2022

F7250860-7967-41CC-AE88-949A538C2E7C

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment