You've already forked obsidian-visualiser
Fix markdown CSS max-width in canvas
This commit is contained in:
@@ -3833,6 +3833,10 @@ body {
|
|||||||
width: calc((100vw - var(--page-width)) / 2);
|
width: calc((100vw - var(--page-width)) / 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.canvas-node-container .markdown-preview-sizer {
|
||||||
|
max-width: initial !important;
|
||||||
|
}
|
||||||
|
|
||||||
.published-container.is-readable-line-width .markdown-preview-sizer {
|
.published-container.is-readable-line-width .markdown-preview-sizer {
|
||||||
max-width: var(--page-width);
|
max-width: var(--page-width);
|
||||||
}
|
}
|
||||||
@@ -4988,4 +4992,4 @@ body {
|
|||||||
|
|
||||||
.callout.is-collapsed .fold {
|
.callout.is-collapsed .fold {
|
||||||
transform: rotate(-90deg);
|
transform: rotate(-90deg);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user