aboutsummaryrefslogtreecommitdiff
path: root/public/css/gogs.css
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-06-06 15:41:27 -0400
committerUnknwon <u@gogs.io>2017-06-06 15:41:27 -0400
commita851b77ac9e5d95f71fb0e98cd134cd0e692f782 (patch)
tree3ed238d30773b379218e4259dcf49ca9180823e1 /public/css/gogs.css
parente9a2b72ddb0a5d069e72aceabb36337e5b9e9dcd (diff)
markup: able to display image from IPython notebook (#4366)
Diffstat (limited to 'public/css/gogs.css')
-rw-r--r--public/css/gogs.css3
1 files changed, 3 insertions, 0 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css
index 48c3d405..1f023210 100644
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -1402,6 +1402,9 @@ footer .ui.language .menu {
.repository.file.list #file-content #ipython-notebook .nb-cell.nb-heading-cell {
margin-top: 0.5em;
}
+.repository.file.list #file-content #ipython-notebook .nb-cell img {
+ max-width: 100%;
+}
.repository.file.list #file-content #ipython-notebook .nb-raw-cell {
white-space: pre-wrap;
background-color: #f5f2f0;