static/frontend/unit/versions/versions.tmpl: reduce vuln chip height Wrapping the vuln chip in a plain div insulates it from the effects of the enclosing flex box. Change-Id: I7a2ca0a43b7170fb2d5e5c8a77c02ec4f34f9857 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/348929 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> Reviewed-by: Jamal Carvalho <jamal@golang.org>
diff --git a/static/frontend/unit/versions/versions.tmpl b/static/frontend/unit/versions/versions.tmpl index ae4ed89..9671c93 100644 --- a/static/frontend/unit/versions/versions.tmpl +++ b/static/frontend/unit/versions/versions.tmpl
@@ -78,7 +78,7 @@ {{else}} <div class="Version-commitTime"> {{$v.CommitTime}}{{if $v.Retracted}}<div><span class="go-Chip go-Chip--inverted">retracted</span></div>{{end}} - {{range $v.Vulns}}{{template "vuln" .}}{{end}} + {{range $v.Vulns}}<div>{{template "vuln" .}}</div>{{end}} </div> {{end}} {{end}}