Limit maximum width of image

This commit is contained in:
oohira
2016-01-24 23:40:25 +09:00
parent f3b7318453
commit da5e4fe5b1

View File

@@ -1446,6 +1446,10 @@ div.wiki-sidebar {
margin-top: 20px; margin-top: 20px;
} }
div.wiki-sidebar img {
max-width: 100%;
}
div.wiki-sidebar-dotted { div.wiki-sidebar-dotted {
background-color: white; background-color: white;
border: 1px dashed #ddd; border: 1px dashed #ddd;
@@ -1878,6 +1882,10 @@ div.markdown-body p {
line-height: 1.5; line-height: 1.5;
} }
div.markdown-body img {
max-width: 100%;
}
div.markdown-body pre { div.markdown-body pre {
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 12px; font-size: 12px;