diff options
author | Unknwon <u@gogs.io> | 2017-06-06 15:41:27 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-06-06 15:41:27 -0400 |
commit | a851b77ac9e5d95f71fb0e98cd134cd0e692f782 (patch) | |
tree | 3ed238d30773b379218e4259dcf49ca9180823e1 /public/css/gogs.css | |
parent | e9a2b72ddb0a5d069e72aceabb36337e5b9e9dcd (diff) |
markup: able to display image from IPython notebook (#4366)
Diffstat (limited to 'public/css/gogs.css')
-rw-r--r-- | public/css/gogs.css | 3 |
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; |