diff options
author | Lauris BH <lauris@nix.lv> | 2018-09-17 17:59:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-17 17:59:49 +0300 |
commit | 4befec242aa3563f5a8a38bd390d834e4aa2797b (patch) | |
tree | f372612f3911ceb304bc6868b051a4c972025013 /public/less/_review.less | |
parent | 756eafaaf68b3cadb3f33f37554a6aa2d83921ef (diff) | |
download | gitea-4befec242aa3563f5a8a38bd390d834e4aa2797b.tar.gz gitea-4befec242aa3563f5a8a38bd390d834e4aa2797b.zip |
Code review UI improvements and bugfixes (#4682)
* Code review UI improvements
* More fixes to dark theme
* Style fix
* Fix to allow add code review comments only on review files tab
* More readability dark style fixes
* Fix commenting on deleted files. Fixes #4752
* Fix line blame getting for multiple corner cases
Diffstat (limited to 'public/less/_review.less')
-rw-r--r-- | public/less/_review.less | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/public/less/_review.less b/public/less/_review.less index a1b2e1932f..abc0284ca5 100644 --- a/public/less/_review.less +++ b/public/less/_review.less @@ -42,14 +42,21 @@ top: -13px; } - .attached.tab { - border: none; - padding: 0; - margin: 0; - - &.markdown { - padding: 1em; - min-height: 168px; + .attached + { + &.tab { + border: none; + padding: 0; + margin: 0; + + &.markdown { + padding: 1em; + min-height: 168px; + } + } + + &.header { + padding: .1rem 1rem; } } @@ -92,8 +99,12 @@ } } - .comment-form-reply { - margin: 0.5em !important; + button.comment-form-reply { + margin: 0.5em 0.5em 0.5em 4.5em; + } + + form.comment-form-reply { + margin: 0 0 0 4em; } } |