control line wrapping using CSS instead of pre tags to avoid unnecessary whitespace
This commit is contained in:
parent
acacff6322
commit
5ea063d1dc
3 changed files with 9 additions and 9 deletions
|
|
@ -25,12 +25,12 @@
|
|||
</tr>
|
||||
#if $summary
|
||||
<tr>
|
||||
<th>Summary</th><td class="rpmheader"><pre>$util.escapeHTML($summary)</pre></td>
|
||||
<th>Summary</th><td class="rpmheader">$util.escapeHTML($summary)</td>
|
||||
</tr>
|
||||
#end if
|
||||
#if $description
|
||||
<tr>
|
||||
<th>Description</th><td class="rpmheader"><pre>$util.escapeHTML($description)</pre></td>
|
||||
<th>Description</th><td class="rpmheader">$util.escapeHTML($description)</td>
|
||||
</tr>
|
||||
#end if
|
||||
<tr>
|
||||
|
|
@ -130,11 +130,7 @@
|
|||
#if $changelog
|
||||
<tr>
|
||||
<th>Changelog</th>
|
||||
<td class="changelog">
|
||||
<pre>
|
||||
#echo $util.escapeHTML($koji.util.formatChangelog($changelog))
|
||||
</pre>
|
||||
</td>
|
||||
<td class="changelog">$util.escapeHTML($koji.util.formatChangelog($changelog))</td>
|
||||
</tr>
|
||||
#end if
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -36,10 +36,10 @@
|
|||
</tr>
|
||||
#if $rpm.external_repo_id == 0
|
||||
<tr>
|
||||
<th>Summary</th><td class="rpmheader"><pre>$util.escapeHTML($summary)</pre></td>
|
||||
<th>Summary</th><td class="rpmheader">$util.escapeHTML($summary)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Description</th><td class="rpmheader"><pre>$util.escapeHTML($description)</pre></td>
|
||||
<th>Description</th><td class="rpmheader">$util.escapeHTML($description)</td>
|
||||
</tr>
|
||||
#end if
|
||||
<tr>
|
||||
|
|
|
|||
|
|
@ -408,7 +408,9 @@ abbr {
|
|||
}
|
||||
|
||||
.changelog {
|
||||
font-family: monospace;
|
||||
font-size: medium;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
#headerHelp {
|
||||
|
|
@ -431,5 +433,7 @@ span#loginInfo {
|
|||
}
|
||||
|
||||
.rpmheader {
|
||||
font-family: monospace;
|
||||
font-size: medium;
|
||||
white-space: pre;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue