xmisio72_obsidian-embed-editor/seamless-embeds.css
Sebastian 9e372042dd feat: Embed Editor v1.0.0 — click-to-edit panel for transclusions
Notion-style synced blocks. Click any ![[]] embed to edit its source
in a floating panel. Includes seamless-embeds.css snippet.
2026-03-27 16:46:23 +01:00

39 lines
1.3 KiB
CSS

/* Seamless Embeds — make ![[]] transclusions look like inline text
Scoped to markdown views only — excludes Canvas */
/* Red synced-block frame */
.markdown-reading-view .markdown-embed,
.markdown-source-view .markdown-embed {
border: 1.5px solid #e03e3e !important;
border-radius: 6px !important;
padding: 12px 16px !important;
margin: 8px 0 !important;
background: transparent !important;
box-shadow: none !important;
}
/* Remove the embed title bar / link header */
.markdown-reading-view .markdown-embed .markdown-embed-title,
.markdown-source-view .markdown-embed .markdown-embed-title {
display: none !important;
}
/* Remove the embed link icon (the chain link) */
.markdown-reading-view .markdown-embed-link,
.markdown-source-view .markdown-embed-link {
display: none !important;
}
/* Remove internal scrollbar — let content flow naturally */
.markdown-reading-view .markdown-embed .markdown-embed-content,
.markdown-source-view .markdown-embed .markdown-embed-content {
max-height: none !important;
overflow: visible !important;
padding: 0 !important;
}
/* Remove the extra padding on the preview inside embeds */
.markdown-reading-view .markdown-embed .markdown-preview-view,
.markdown-source-view .markdown-embed .markdown-preview-view {
padding: 0 !important;
}