Skip to content

update warning banner styling for links #1783

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/shared/components/warning-banner/Warning-banner.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Required:
<i class="fas fa-chevron-down" data-fa-transform="down-2" title="Open warning-banner information"></i>
</button>
<div class="hw-warning-banner__contents">
The asphalt on the roads is melting and our vehicles are stuck in thick oil. Drone deliveries operating as normal.
<p>The asphalt on the roads is melting and our vehicles are stuck in thick oil. Drone deliveries operating as normal.</p>
<a href="#" class="hw-warning-banner__read-more-link">Read more</a>
</div>
</section>
Expand Down
5 changes: 3 additions & 2 deletions src/shared/components/warning-banner/warning-banner.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

a {
font-size: var(--hw-font-size-smaller);
text-decoration: underline;
}

/**
Expand Down Expand Up @@ -118,7 +117,9 @@
}

&__read-more-link {
display: block;
@extend .hw-link, .hw-link--solid;

display: inline-block;
position: relative;
margin-top: var(--hw-spacing-small-4);
font-size: var(--hw-font-size-small);
Expand Down