design: fix some problem with iframes

This commit is contained in:
Julien Calixte
2024-12-27 10:39:23 +01:00
parent 0b88e9e773
commit 545baf063c
2 changed files with 7 additions and 3 deletions

View File

@@ -38,8 +38,7 @@ const md = new MarkdownIt({
.use(markdownItFootnote) .use(markdownItFootnote)
.use(markdownItLatex) .use(markdownItLatex)
.use(markdownItIframe, { .use(markdownItIframe, {
width: '100%', width: '100%'
height: 400
}) })
.use(MarkdownItGitHubAlerts) .use(MarkdownItGitHubAlerts)

View File

@@ -103,4 +103,9 @@ pre {
background-color: #ecf0f1; background-color: #ecf0f1;
border-radius: 1rem; border-radius: 1rem;
margin: 1rem 0; margin: 1rem 0;
} }
iframe {
border-radius: 1rem;
height: 400px;
}