Commit f57e9052 authored by Olena Horal-Koretska's avatar Olena Horal-Koretska

Merge branch '242035-Fix-Vuln-Links-Overflow-Modal' into 'master'

Fix MR Modal Vulnerability Links Overflow Modal

See merge request gitlab-org/gitlab!42332
parents 9a29a09d 7933483d
...@@ -153,6 +153,7 @@ export default { ...@@ -153,6 +153,7 @@ export default {
<gl-link <gl-link
v-if="identifier.url" v-if="identifier.url"
ref="identifiersLink" ref="identifiersLink"
class="gl-word-break-all"
:href="identifier.url" :href="identifier.url"
target="_blank" target="_blank"
rel="nofollow" rel="nofollow"
...@@ -186,7 +187,7 @@ export default { ...@@ -186,7 +187,7 @@ export default {
</vulnerability-detail> </vulnerability-detail>
<vulnerability-detail v-if="links" :label="s__('Vulnerability|Links')"> <vulnerability-detail v-if="links" :label="s__('Vulnerability|Links')">
<span v-for="(link, i) in links" :key="i"> <span v-for="(link, i) in links" :key="i">
<gl-link ref="linksLink" :href="link.url" target="_blank"> <gl-link ref="linksLink" class="gl-word-break-all" :href="link.url" target="_blank">
{{ link.value || link.url }} {{ link.value || link.url }}
</gl-link> </gl-link>
<span v-if="hasMoreValues(i, links)">,&nbsp;</span> <span v-if="hasMoreValues(i, links)">,&nbsp;</span>
......
---
title: Fix MR Modal Vulnerability Links Overflow Modal
merge_request: 42332
author: Kev @KevSlashNull
type: fixed
...@@ -104,6 +104,7 @@ key2: value2" ...@@ -104,6 +104,7 @@ key2: value2"
> >
<span> <span>
<gl-link-stub <gl-link-stub
class="gl-word-break-all"
href="https://deps.sec.gitlab.com/packages/npm/serialize-javascript/versions/1.7.0/advisories" href="https://deps.sec.gitlab.com/packages/npm/serialize-javascript/versions/1.7.0/advisories"
rel="nofollow" rel="nofollow"
target="_blank" target="_blank"
...@@ -119,6 +120,7 @@ key2: value2" ...@@ -119,6 +120,7 @@ key2: value2"
</span> </span>
<span> <span>
<gl-link-stub <gl-link-stub
class="gl-word-break-all"
href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16769" href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16769"
rel="nofollow" rel="nofollow"
target="_blank" target="_blank"
...@@ -175,6 +177,7 @@ key2: value2" ...@@ -175,6 +177,7 @@ key2: value2"
> >
<span> <span>
<gl-link-stub <gl-link-stub
class="gl-word-break-all"
href="https://nvd.nist.gov/vuln/detail/CVE-2019-16769" href="https://nvd.nist.gov/vuln/detail/CVE-2019-16769"
target="_blank" target="_blank"
> >
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment