Skip to content

Commit

Permalink
refactor: adjust CSS selector to apply to any external link
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran committed Jul 17, 2023
1 parent c2d20fa commit d98ce33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benefits/core/templates/core/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ <h1>{{ page.headline }}</h1>
<a class="m-0 ps-5 ps-lg-0" href="{% url "core:help" %}">{% translate "core.buttons.help" %}</a>
</li>
<li>
<a class="m-0 ps-5 ps-lg-0 external-link" href="https://cdt.ca.gov/privacy-policy/" target="_blank" rel="noopener noreferrer">{% translate "core.buttons.privacy" %}</a>
<a class="m-0 ps-5 ps-lg-0" href="https://cdt.ca.gov/privacy-policy/" target="_blank" rel="noopener noreferrer">{% translate "core.buttons.privacy" %}</a>
</li>
</ul>
</div>
Expand Down
2 changes: 1 addition & 1 deletion benefits/static/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ a:visited:not(.btn) {
color: var(--selected-color);
}

.external-link::after {
[target="_blank"]::after {
content: " ";
background-color: currentColor;

Expand Down

0 comments on commit d98ce33

Please sign in to comment.