fix: image width in markdown, close #221

This commit is contained in:
Anthony Fu 2021-11-02 09:54:16 +08:00
parent 44e93dd713
commit 4ef03f4da3

View File

@ -5,6 +5,10 @@
--prism-font-family: 'Input Mono', monospace; --prism-font-family: 'Input Mono', monospace;
} }
.prose img {
width: 100%;
}
html:not(.dark) .prose { html:not(.dark) .prose {
--prism-foreground: #393a34; --prism-foreground: #393a34;
--prism-background: #fbfbfb; --prism-background: #fbfbfb;