mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-09 23:15:49 +01:00
Merge pull request #1069 from oohira/limit-image-max-width
Limit maximum width of image
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user