Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More embed things #26

Merged
merged 4 commits into from
Feb 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -1305,7 +1305,8 @@ breaks embeds in reading mode */
}

/* fix embeded dv lists in the sidebar */
.workspace-leaf-content .markdown-embed .markdown-preview-view {
.pln-embd-mods .mod-left-split .workspace-leaf-content .markdown-embed .markdown-preview-view,
.pln-embd-mods .mod-right-split .workspace-leaf-content .markdown-embed .markdown-preview-view {
padding-left: 2px;
}

Expand All @@ -1332,15 +1333,23 @@ body.pln-link-mods .external-link {
.pln-dv-mods .markdown-source-view.mod-cm6 .edit-block-button {
display: none;
}
/* both of these do the same thing, but
* I don't know which applies when */
.pln-dv-mods .dataview.result-group {
/* move dataview results over 2px to align with embeds in reading mode */
.pln-dv-mods .markdown-reading-view .dataview.result-group {
padding-left: 2px;
}
/* do not move dataview results over in live preview mode */
.pln-dv-mods .is-live-preview .dataview.result-group {
padding-left: 0px;
}
/* if you offset embeds, this can be 0 otherwise 2px */
.pln-dv-mods .cm-preview-code-block.cm-embed-block.markdown-rendered {
padding-left: 0;
}
/* move the checkbox container over pixels in reading mode */
/* this was an issue on my daily notes when embedding all PTIs */
.pln-dv-mods .markdown-reading-view .dataview-container .contains-task-list {
padding-left: 20px;
}
/* hides the item count on a list */
.pln-dv-count .dataview.small-text {
display: none;
Expand Down