Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Global focus styles #1744
Global focus styles #1744
Changes from all commits
deda0d0
b1ab3ca
1e6be4a
cf582b5
85f3431
b7e5c98
84aa9d6
9b17a70
ba93d3d
55e0753
905a856
6cca16f
57ae3b8
c033dcb
d0425dc
e38caea
2fade4e
d2e21e7
b84e0b0
5341273
af58aed
6844e0d
59f8d43
751376b
17a4622
5fcefff
168a9f8
0eb5ffd
c9c792f
d570060
b703198
eb3a61c
771d0dd
6770984
500d091
db25d10
c8d4ba3
303b5a3
8809254
33af9b5
6b77caa
457a0a7
a53a2ad
53b6c7a
75615c7
592f4a3
a7078ae
2b41913
74fc060
6381c0a
fb4c581
7e4b863
60be9a8
a900e35
0f1ae23
aa7e158
ba84876
65b92ac
f84d027
692aea9
dbeb7a8
d19fd5d
5251269
fd71b36
33e9712
be2ab1a
f2b6102
a859750
f84874e
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Should the
Link
component be included here too? Theoutline-offset: -2px;
can sometimes make it hard to read the link text.Also there are probably some cases where
a:not([class])
would not be effective, but still desired.. e.g. when a link is shown responsively like<a class="d-none d-md-block">Link</a>
. Hard to fix without adding tons of exceptions for utility classes. 🤷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.
Links are tricky! I changed this to
0px
offset as a happy medium, and added that offset to the PCSSLink
component. There were a lot of edge cases in dotcom where having a larger offset wasn't desirable, primarily where an additional utility or class was used. I felt like:not()
was an appropriate safeguard for now.