mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-09 03:11:51 +01:00
overflow
This commit is contained in:
parent
47234f1031
commit
c8790eb7d3
2 changed files with 3 additions and 2 deletions
|
@ -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 {
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue