Fix broken server dropdown menu when auto-connect is enabled

This commit is contained in:
Alejandro Celaya
2024-03-17 12:11:43 +01:00
parent 479583281a
commit 3192aa6981
2 changed files with 3 additions and 3 deletions

View File

@@ -37,7 +37,7 @@ const ManageServersRowDropdown: FCWithDeps<ManageServersRowDropdownConnectProps,
const autoConnectIcon = isAutoConnect ? toggleOffIcon : toggleOnIcon;
return (
<RowDropdownBtn minWidth={170}>
<RowDropdownBtn minWidth={isAutoConnect ? 210 : 170}>
<DropdownItem tag={Link} to={serverUrl}>
<FontAwesomeIcon icon={connectIcon} fixedWidth /> Connect
</DropdownItem>