mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-08-27 20:09:23 +00:00
Use 'hunk_stats' as class name
https://bugzilla.gnome.org/show_bug.cgi?id=720886
This commit is contained in:
parent
cf930ae22b
commit
64c30d5f19
|
@ -19,7 +19,7 @@ function diff_file(file, lnstate, data)
|
|||
var cold = h.range.old.start;
|
||||
var cnew = h.range.new.start;
|
||||
|
||||
var hunk_header = '<span class="hunk_header">@@ -' + h.range.old.start + ',' + h.range.old.lines + ' +' + h.range.new.start + ',' + h.range.new.lines + ' @@</span>';
|
||||
var hunk_header = '<span class="hunk_stats">@@ -' + h.range.old.start + ',' + h.range.old.lines + ' +' + h.range.new.start + ',' + h.range.new.lines + ' @@</span>';
|
||||
|
||||
if (data.settings.staged || data.settings.unstaged)
|
||||
{
|
||||
|
|
|
@ -239,7 +239,7 @@ span.unstage {
|
|||
background-color: #ffdddd;
|
||||
}
|
||||
|
||||
span.hunk_header, span.file_path {
|
||||
span.hunk_stats, span.file_path {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue