mirror of
https://github.com/jwczju/html-blocks.git
synced 2026-07-22 08:26:57 +00:00
14 lines
523 B
CSS
14 lines
523 B
CSS
/* Inspect mode: show text selection highlight even in unfocused editors,
|
|
so hovering a rendered element visibly scrolls/selects its source line. */
|
|
.cm-editor:not(.cm-focused) .cm-selectionBackground {
|
|
background-color: rgba(37, 99, 235, 0.25) !important;
|
|
}
|
|
|
|
/* Override Obsidian's default embed sizing so rendered HTML blocks
|
|
expand to their natural height instead of a fixed iframe box. */
|
|
.internal-embed.html-block-embed {
|
|
display: block;
|
|
height: auto;
|
|
max-height: none;
|
|
overflow: visible;
|
|
}
|