-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Remove remaining <br />
#18444
Remove remaining <br />
#18444
Conversation
app/src/ui/diff/index.tsx
Outdated
@@ -179,9 +179,8 @@ export class Diff extends React.Component<IDiffProps, IDiffState> { | |||
return ( | |||
<div className="panel empty large-diff"> | |||
<img src={NoDiffImage} className="blankslate-image" alt="" /> | |||
<p>The diff is too large to be displayed by default.</p> |
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 we try to keep it visually as it was before?
From accessibility audit documentation, I have branch https://github.com/githuba11y/repo_the_second2/tree/with-github-desktop-readme.md) for reproducing this screen handy.
<div className="description"> | ||
<p>The repository will be removed from GitHub Desktop:</p> | ||
<p> | ||
<Ref>{this.props.repository.path}</Ref> | ||
</p> | ||
</div> |
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.
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.
You can see in the comments I noticed a couple places where these changes introduced additional whitespace. Other than that, everything looks good. Thank you for going through all these places
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.
✨ Looks good! Thanks for those changes. This is a great proactive PR. 💖
Description
This PR is a continuation of #18436 , going through every remaining instances of
<br />
found in our codebase and replacing them with the appropriate HTML elements.There have been changes in these components:
Only these instances have been left:
<br />
elements added to blank lines in diffs, so that copy&pasting those work as expectedScreenshots
Everything should still look the same!
Release notes
Notes: [Fixed] Remove unnecessary br elements and make the app easier to navigate with screen readers