mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-09 15:05:50 +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;
|
||||
}
|
||||
|
||||
div.wiki-sidebar img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
div.wiki-sidebar-dotted {
|
||||
background-color: white;
|
||||
border: 1px dashed #ddd;
|
||||
@@ -1878,6 +1882,10 @@ div.markdown-body p {
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
div.markdown-body img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
div.markdown-body pre {
|
||||
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
||||
font-size: 12px;
|
||||
|
||||
Reference in New Issue
Block a user