-
Notifications
You must be signed in to change notification settings - Fork 12
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
va-link: Replacing external icon with text #1396
Changes from all commits
f63e285
c2a9697
35c87ca
2bcb84e
6c6de07
b9775df
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,11 +13,7 @@ describe('va-privacy-agreement', () => { | |
<va-checkbox class="hydrated" id="checkbox"> | ||
<span class="description" slot="description"> | ||
Please read and accept the | ||
<a href="/privacy-policy/" target="_blank"> | ||
privacy policy | ||
<va-icon class="hydrated privacy-policy-icon"></va-icon> | ||
<span class="usa-sr-only">opens in a new window</span> | ||
</a>. | ||
<va-link class="hydrated"></va-link>. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am surprised this test doesn't expect more details on the link. 🤔 Like these attributes:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, I was surprised by that too. Good thing we still have separate e2e tests for the va-link component itself to make sure those props work! |
||
</span> | ||
</va-checkbox> | ||
</mock:shadow-root> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,12 @@ | |
margin: 24px; | ||
} | ||
|
||
@media screen and (max-width: $small-screen) { | ||
:host .short-line { | ||
width: var(--vads-size-line-length-1); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good to see this new token coming in handy! |
||
} | ||
} | ||
|
||
:host va-text-input { | ||
margin-bottom: 24px; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should have flagged a visual change in Chromatic on the
va-link
and va-statement-of-truth stories at a minimum. Can you try toggling theonlyChanged
flag to see if that picks it up?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can do!