Indefero

Indefero Commit Details


Date:2011-12-01 18:20:14 (13 years 20 days ago)
Author:Jean-Philippe Fleury
Branch:develop, release-1.2, release-1.3
Commit:6a44af34e1805b353b0dcdee4f66f60cbcf9ac06
Parents: 7342566c6ee3834c93a86aad01b64d06d02d9bba
Message:Fix issue 773.

Changes:

File differences

NEWS.mdtext
11
22
3
4
5
6
7
38
49
510
# InDefero 1.2.1 - XXX XXX XX XX:XX:XX UTC 201X
## Bugfixes
- The diff view now renders properly in Firefox when a minimum font size
is configured or the user zooms the web page (fixes issue 773)
## Language and Translations
- Multiple fixes to English source strings (fixes issues 763, 766, and 772,
src/IDF/Diff.php
184184
185185
186186
187
187
188188
189189
190190
191191
192
192
193193
194194
195195
......
411411
412412
413413
414
414
415415
416416
417417
418
418
419419
420420
421421
$added = $added[0] + $added[1];
$leftwidth = 0;
if ($added > 0)
$leftwidth = ((ceil(log10($added)) + 1) * 8) + 12;
$leftwidth = ((ceil(log10($added)) + 1) * 8) + 17;
$removed = $removed[0] + $removed[1];
$rightwidth = 0;
if ($removed > 0)
$rightwidth = ((ceil(log10($removed)) + 1) * 8) + 12;
$rightwidth = ((ceil(log10($removed)) + 1) * 8) + 17;
// we need to correct the width of a single column a little
// to take less space and to hide the empty one
$leftwidth = 1;
if ($max_lineno_left > 0)
$leftwidth = ((ceil(log10($max_lineno_left)) + 1) * 8) + 12;
$leftwidth = ((ceil(log10($max_lineno_left)) + 1) * 8) + 17;
$rightwidth = 1;
if ($max_lineno_right > 0)
$rightwidth = ((ceil(log10($max_lineno_right)) + 1) * 8) + 12;
$rightwidth = ((ceil(log10($max_lineno_right)) + 1) * 8) + 17;
$inner_linecounts_left =
'<table class="diff-linecounts">' ."\n".
www/media/idf/css/style.css
652652
653653
654654
655
655
656656
657657
658658
......
664664
665665
666666
667
667668
668
669
669670
670671
671672
table.diff-linecounts tr,
table.diff-contents tr {
height: 18px;
height: 22px;
}
table.diff-linecounts tr {
}
table.diff-linecounts td {
line-height: 12px;
font-size: 90%;
padding: 1px 10px;
padding: 2px 10px;
text-align: right;
border-left: 1px solid #d3d7cf;
}

Archive Download the corresponding diff file

Page rendered in 0.08684s using 14 queries.