]> source.dussan.org Git - gitea.git/commit
Ensure that diff stats can scroll independently of the diff (#8581)
author6543 <24977596+6543@users.noreply.github.com>
Mon, 21 Oct 2019 07:51:24 +0000 (09:51 +0200)
committerzeripath <art27@cantab.net>
Mon, 21 Oct 2019 07:51:24 +0000 (08:51 +0100)
commitb1c1e1549b50bbd5929e2c4dd72a1dbf4b511b50
tree0becb52e0b3cd3649faf9f5304828bd7d00a40b8
parentb539a6e6e34c62c606a3d1fc5b2786f4cfd91a3d
Ensure that diff stats can scroll independently of the diff (#8581)

This PR ensures that once opened the diff stats detail box can be scrolled independently of the diff on the compare page.

Fixes #5532

Details:

* make diff-detail-box the main container
* move file diff at the same level as diff-stats
* make diff-view options sticy again
* make diff-stats scroll if to mouch
* rm useless css info
* less: mv diff-stats to own class
* use new css class
* cleanup less file
* diff-counter: margin-right: 15px;
* make CI work
* make numbers colorful
* add sign (-/+) to numbers
public/css/index.css
public/less/_repository.less
templates/repo/diff/box.tmpl