design: fix some problem with iframes
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
@@ -104,3 +104,8 @@ pre {
|
|||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
margin: 1rem 0;
|
margin: 1rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
iframe {
|
||||||
|
border-radius: 1rem;
|
||||||
|
height: 400px;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user