Skip to content

Commit

Permalink
Line-break element (#1433)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgurgel authored Jan 29, 2025
1 parent 8e76460 commit 0f9d508
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,10 @@
& .phishing .icon, & .malware .icon {
background-image: url(../../../../shared/assets/img/icons/Malware-Site-96.svg);
}

/* Inserts line break before an inline element. Used for the Learn More link in the Warning text */
& [data-line-break]::before {
content: ' ';
display: block;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const sanitizeURL = (urlString) => {
*/

const helpPageAnchorTagParams = {
'data-line-break': true,
href: phishingMalwareHelpPageURL,
target: '_blank',
};
Expand Down

0 comments on commit 0f9d508

Please sign in to comment.