mirror of
https://github.com/postgres/pgweb.git
synced 2025-07-25 16:02:27 +00:00
Replace <nobr> tags with CSS
The <nobr> tag is not allowed in <td> context, and is altogether deprecated as well. Replace with a span and a CSS class instead. Reviewed-by: Magnus Hagander Discussion: https://postgr.es/m/A0228704-7C47-44B8-929B-8BFC02D6CBD7@yesql.se
This commit is contained in:
@ -1613,3 +1613,7 @@ table.sponsor-table tbody tr td:nth-child(3) {
|
||||
top: 8px;
|
||||
right: 8px;
|
||||
}
|
||||
|
||||
.nobr {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
@ -75,7 +75,7 @@ You can filter the view of patches to show just patches for version:<br/>
|
||||
{%for p in patches%}
|
||||
<tr>
|
||||
<td>
|
||||
{%if p.cve%}<nobr><a href="/support/security/CVE-{{ p.cve }}/">CVE-{{p.cve}}</a></nobr><br/>{%endif%}
|
||||
{%if p.cve%}<span class="nobr"><a href="/support/security/CVE-{{ p.cve }}/">CVE-{{p.cve}}</a></span><br/>{%endif%}
|
||||
{%if p.newspost%}<a href="/about/news/{{p.newspost.title|slugify}}-{{p.newspost.id}}/">Announcement</a><br/>{%endif%}
|
||||
</td>
|
||||
<td>{{p.affected|join:", "}}</td>
|
||||
|
Reference in New Issue
Block a user