1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-25 06:50:55 +01:00

more fixes to fluid diff

Summary: always render "copy" column for text. this gives us consistent left alignment. also tweak css to be less wide for the copy and code coverage columns.

Test Plan: http://phabricator.dev/rP1a3bf098ae4ab4f8add4af744a6b93a257851fb0 looks even better

Reviewers: vrana, epriestley

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T2005

Differential Revision: https://secure.phabricator.com/D4110
This commit is contained in:
Bob Trahan 2012-12-07 12:37:11 -08:00
parent 1922590f98
commit 8a6e82eba6
2 changed files with 8 additions and 9 deletions

View file

@ -1530,9 +1530,9 @@ final class DifferentialChangesetParser {
}
}
$n_copy = null;
$n_copy = '<td class="copy" />';
$n_cov = null;
$n_colspan = 3;
$n_colspan = 2;
$n_classes = '';
$n_num = null;
$n_text = null;
@ -1589,7 +1589,6 @@ final class DifferentialChangesetParser {
),
'');
}
$n_colspan--;
}
}
$n_classes .= ' right'.$n_colspan;

View file

@ -63,11 +63,11 @@
.differential-diff td.right,
.differential-diff td.right1 {
width: 43%;
width: 43.5%;
}
.differential-diff td.right2 {
width: 44.3%;
width: 44.5%;
}
.differential-diff td.right3 {
width: 45%;
@ -104,8 +104,8 @@
}
.differential-diff td.copy {
min-width: 0.7%;
width: 0.7%;
min-width: 0.5%;
width: 0.5%;
padding: 0;
}
@ -124,8 +124,8 @@
}
.differential-diff td.cov {
min-width: 1.3%;
width: 1.3%;
min-width: 1%;
width: 1%;
padding: 0;
}