From da5e4fe5b19d6735a11c9a0914b535e3b642a061 Mon Sep 17 00:00:00 2001 From: oohira Date: Sun, 24 Jan 2016 23:40:25 +0900 Subject: [PATCH 1/2] Limit maximum width of image --- src/main/webapp/assets/common/css/gitbucket.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/webapp/assets/common/css/gitbucket.css b/src/main/webapp/assets/common/css/gitbucket.css index d16a74627..ca0259dc9 100644 --- a/src/main/webapp/assets/common/css/gitbucket.css +++ b/src/main/webapp/assets/common/css/gitbucket.css @@ -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; From 21d6143e401a4a768d022563e06320e4af551777 Mon Sep 17 00:00:00 2001 From: Herr Ritschwumm Date: Tue, 26 Jan 2016 01:54:01 +0100 Subject: [PATCH 2/2] fix typo in a file name --- .../core/util/{RepoitoryName.scala => RepositoryName.scala} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/main/scala/gitbucket/core/util/{RepoitoryName.scala => RepositoryName.scala} (100%) diff --git a/src/main/scala/gitbucket/core/util/RepoitoryName.scala b/src/main/scala/gitbucket/core/util/RepositoryName.scala similarity index 100% rename from src/main/scala/gitbucket/core/util/RepoitoryName.scala rename to src/main/scala/gitbucket/core/util/RepositoryName.scala