Shared vulnerability-details component > Prevent the false positive alert from inheriting Markdown styles
In #364781 (closed) we have added the false positive alert to the shared ee/app/assets/javascripts/vulnerabilities/components/vulnerability_details.vue
component. This component wraps its content into a div
that applies Markdown-specific styles with the .md
class.
This makes the alert look off as its h2
appears bigger than what it allowed by Pajamas:
We need to ensure that .md
styles don't leak in the alert to achieve something like this:
-
Move the false positive alert out of the .md
wrapper.
Edited by Paul Gascou-Vaillancourt