aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-02-07 17:18:18 -0500
committerUnknwon <u@gogs.io>2017-02-07 17:18:18 -0500
commit2374a3ef648df169c9866fa6244ff7821f938b50 (patch)
tree805f006df84aca8e609a22bfb8654cf948b097f5 /public
parent0d9e435bfeda7aa93da769030a6fb138c4f3a2df (diff)
IPythonNotebook: fix Markdown cell CSS
Diffstat (limited to 'public')
-rw-r--r--public/css/gogs.css4
-rw-r--r--public/less/_repository.less4
2 files changed, 4 insertions, 4 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css
index ef8bf275..e8dca6e6 100644
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -1383,8 +1383,8 @@ footer .ui.language .menu {
}
.repository.file.list #file-content #ipython-notebook .nb-markdown-cell {
background-color: #eee;
- margin-left: -80px;
- padding: 11.5px 10px 19.5px 80px;
+ margin-right: 10px;
+ padding: 10px;
}
.repository.file.list #file-content #ipython-notebook div[style="max-height:1000px;max-width:1500px;overflow:auto;"] {
max-height: none !important;
diff --git a/public/less/_repository.less b/public/less/_repository.less
index d9e1d4e4..52132425 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -341,8 +341,8 @@
.nb-markdown-cell {
background-color: #eee;
- margin-left: -80px;
- padding: 11.5px 10px 19.5px 80px;
+ margin-right: 10px;
+ padding: 10px;
}
// Fix pandas dataframe formatting