Merge pull request #1069 from oohira/limit-image-max-width

Limit maximum width of image
This commit is contained in:
Naoki Takezoe
2016-01-26 16:54:17 +09:00

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;