]> source.dussan.org Git - gitea.git/commitdiff
overflow
authorslene <vslene@gmail.com>
Thu, 20 Mar 2014 13:24:15 +0000 (21:24 +0800)
committerslene <vslene@gmail.com>
Thu, 20 Mar 2014 13:24:15 +0000 (21:24 +0800)
public/css/gogs.css
public/js/app.js

index 41e4be9a4c8451cc3078a3b093141e25c9a311b6..3a8760c355982f3ade75ef9c0f26c069104c821a 100755 (executable)
@@ -647,6 +647,9 @@ html, body {
     padding: 30px 30px 50px;
     border: none;
     background-color: #FFF;
+    overflow: auto;
+    overflow-x: auto;
+    overflow-y: hidden;
 }
 
 .file-content .file-body pre {
index 93cfbc1faaff7d7fdb29c780b7f63789d1e1728d..a39976006f95b3f2cdc6f6893d5e804d8122773d 100644 (file)
@@ -81,8 +81,6 @@ var Gogits = {
             var last;
             $(document).on('click', '.lines-num span', function(){
                 var $e = $(this);
-                console.log($e.parent().siblings('.lines-code').find('ol.linenums > ' + $e.attr('rel')));
-                console.log('ol.linenums > ' + $e.attr('rel'));
                 if(last){
                     last.removeClass('active');
                 }