summaryrefslogtreecommitdiffstats
path: root/web_src/less/markup
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/less/markup')
-rw-r--r--web_src/less/markup/content.less8
-rw-r--r--web_src/less/markup/mermaid.less13
2 files changed, 8 insertions, 13 deletions
diff --git a/web_src/less/markup/content.less b/web_src/less/markup/content.less
index 71e98652c8..b8dafe3511 100644
--- a/web_src/less/markup/content.less
+++ b/web_src/less/markup/content.less
@@ -536,6 +536,14 @@
}
}
+.markup-render {
+ display: block;
+ border: none;
+ width: 100%;
+ height: var(--height-loading); // actual height is set in JS after loading
+ overflow: hidden;
+}
+
.markup-block-error {
margin-bottom: 0 !important;
border-bottom-left-radius: 0 !important;
diff --git a/web_src/less/markup/mermaid.less b/web_src/less/markup/mermaid.less
deleted file mode 100644
index f68b577dec..0000000000
--- a/web_src/less/markup/mermaid.less
+++ /dev/null
@@ -1,13 +0,0 @@
-.mermaid-chart {
- display: flex;
- justify-content: center;
- align-items: center;
- padding: 1rem;
- margin: 1rem auto;
- height: auto;
-}
-
-/* mermaid's errorRenderer seems to unavoidably spew stuff into <body>, hide it */
-body > div[id*="mermaid-"] {
- display: none !important;
-}