Skip to content

Commit c902c2f

Browse files
committed
Fix wrapping, position of Alias records in Vulnerability details templates
Reference: #864 Signed-off-by: John M. Horan <[email protected]>
1 parent 4ec2d93 commit c902c2f

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

vulnerabilities/templates/vulnerability.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -157,18 +157,6 @@
157157
{% endif %}
158158
</td>
159159
</tr>
160-
<tr>
161-
<td class="two-col-left">Summary</td>
162-
<td class="two-col-right">
163-
{% if vulnerability.summary %}
164-
<p>
165-
{{ vulnerability.summary }}
166-
</p>
167-
{% else %}
168-
169-
{% endif %}
170-
</td>
171-
</tr>
172160
<tr>
173161
<td class="two-col-left">Aliases</td>
174162
<td class="two-col-right">
@@ -184,6 +172,18 @@
184172
{% endfor %}
185173
{% else %}
186174

175+
{% endif %}
176+
</td>
177+
</tr>
178+
<tr>
179+
<td class="two-col-left">Summary</td>
180+
<td class="two-col-right">
181+
{% if vulnerability.summary %}
182+
<p>
183+
{{ vulnerability.summary }}
184+
</p>
185+
{% else %}
186+
187187
{% endif %}
188188
</td>
189189
</tr>

vulnerablecode/static/css/custom.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ code {
177177
}
178178

179179
.two-col-left {
180-
width: 150px;
180+
width: 160px;
181181
text-align: right !important;
182182
font-weight: bold;
183183
padding-right: 20px !important;

0 commit comments

Comments
 (0)