From a851b77ac9e5d95f71fb0e98cd134cd0e692f782 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 6 Jun 2017 15:41:27 -0400 Subject: markup: able to display image from IPython notebook (#4366) --- public/css/gogs.css | 3 +++ 1 file changed, 3 insertions(+) (limited to 'public/css') 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; -- cgit v1.2.3