Skip to content

Commit 19aea04

Browse files
authored
refactor: use tailwind classes in place of spaces (#1170)
1 parent 29e2ae1 commit 19aea04

5 files changed

+27
-17
lines changed

src/routes/LoginWithOAuthApp.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ export const LoginWithOAuthApp: FC = () => {
7777
icon={PersonIcon}
7878
size={12}
7979
url={getNewOAuthAppURL(values.hostname)}
80-
/>{' '}
81-
on GitHub then paste your{' '}
80+
/>
81+
<span className="mx-1">on GitHub then paste your</span>
8282
<span className="italic">client id and client secret</span> below.
8383
</div>
8484
}

src/routes/LoginWithPersonalAccessToken.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ export const LoginWithPersonalAccessToken: FC = () => {
8181
icon={KeyIcon}
8282
size={12}
8383
url={getNewTokenURL(values.hostname)}
84-
/>{' '}
85-
on GitHub and paste above.
84+
/>
85+
<span className="mx-1">on GitHub and paste above.</span>
8686
</div>
8787
<div className="italic mt-1">
8888
The required scopes will be selected for you.

src/routes/Settings.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -174,15 +174,15 @@ export const SettingsRoute: FC = () => {
174174
tooltip={
175175
<div>
176176
<div className="pb-3">
177-
See{' '}
177+
See
178178
<button
179179
type="button"
180-
className="text-blue-500"
180+
className="text-blue-500 mx-1"
181181
title="Open GitHub documentation for participating and watching notifications"
182182
onClick={openGitHubParticipatingDocs}
183183
>
184184
official docs
185-
</button>{' '}
185+
</button>
186186
for more details.
187187
</div>
188188
</div>

src/routes/__snapshots__/LoginWithOAuthApp.test.tsx.snap

+10-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/routes/__snapshots__/LoginWithPersonalAccessToken.test.tsx.snap

+10-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)