Browse Source

IPythonNotebook: fix Markdown cell CSS

Unknwon 8 years ago
parent
commit
2374a3ef64
2 changed files with 4 additions and 4 deletions
  1. 2 2
      public/css/gogs.css
  2. 2 2
      public/less/_repository.less

+ 2 - 2
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;

+ 2 - 2
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