Skip to content

Commit

Permalink
Make "Pair Now" button keyboard accessible (#10381)
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-robert authored Feb 12, 2025
1 parent d43f4c8 commit 211c932
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion theme/common.less
Original file line number Diff line number Diff line change
Expand Up @@ -1605,7 +1605,7 @@ p.ui.font.small {
padding-top: .25rem;
}

a.ui.button {
button.ui.button {
margin-top: .5rem;
}
}
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/dialogs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ export function renderBrowserDownloadInstructions(saveonly?: boolean, redeploy?:
</div>
<div className="thirteen wide column">
{lf("Download your code faster by pairing with WebUSB!")}
<a className="ui button purple" onClick={onPairClicked}>{lf("Pair Now")}</a>
<sui.Button className="ui button purple" onClick={onPairClicked} text={lf("Pair Now")} />
</div>
</div>
</div>
Expand Down

0 comments on commit 211c932

Please sign in to comment.