Skip to content

Commit ade8a3e

Browse files
committed
Same width for the Connect/Disconnect buttons
Signed-off-by: David Gageot <[email protected]>
1 parent baef993 commit ade8a3e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/extension/ui/src/components/tabs/YourClients.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ function ClientSetting({
218218
size="small"
219219
>
220220
<Stack direction="row" alignItems="center" spacing={1}>
221-
<Typography sx={{ fontSize: 12 }}>Disconnect</Typography>
221+
<Typography sx={{ fontSize: 12, width: 80 }}>Disconnect</Typography>
222222
{buttonsLoading[name] && <CircularProgress size={12} />}
223223
</Stack>
224224
</Button>
@@ -248,7 +248,7 @@ function ClientSetting({
248248
size="small"
249249
>
250250
<Stack direction="row" alignItems="center" spacing={1}>
251-
<Typography sx={{ fontSize: 12 }}>Connect</Typography>
251+
<Typography sx={{ fontSize: 12, width: 80 }}>Connect</Typography>
252252
{buttonsLoading[name] && <CircularProgress size={12} />}
253253
</Stack>
254254
</Button>
@@ -273,7 +273,7 @@ function ClientSetting({
273273
}}
274274
>
275275
<Stack direction="row" alignItems="center" spacing={1}>
276-
<Typography sx={{ fontSize: 12 }}>Connect</Typography>
276+
<Typography sx={{ fontSize: 12, width: 80 }}>Connect</Typography>
277277
{buttonsLoading[name] && <CircularProgress size={12} />}
278278
</Stack>
279279
</Button>

0 commit comments

Comments
 (0)