Skip to content

Commit 34b0287

Browse files
committed
fix: shrink hover width of reference element
1 parent fb807b6 commit 34b0287

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

ui/components/multichain/app-header/app-header-unlocked-content.tsx

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -242,24 +242,21 @@ export const AppHeaderUnlockedContent = ({
242242
<>{!isMultichainAccountsState2Enabled && CopyButton}</>
243243
</Text>
244244
{selectedMultichainAccountId && (
245-
<Box paddingLeft={2}>
245+
<Box
246+
paddingLeft={2}
247+
paddingTop={1}
248+
paddingBottom={1}
249+
style={{ width: 'fit-content' }}
250+
data-testid="networks-subtitle-test-id"
251+
>
246252
<MultichainHoveredAddressRowsList
247253
groupId={selectedMultichainAccountId}
248254
showAccountHeaderAndBalance={false}
249255
>
250-
<Box
251-
display={Display.Flex}
252-
alignItems={AlignItems.center}
253-
paddingTop={1}
254-
paddingBottom={1}
255-
borderRadius={BorderRadius.SM}
256-
data-testid="networks-subtitle-test-id"
257-
>
258-
<MultichainAccountNetworkGroup
259-
groupId={selectedMultichainAccountId}
260-
limit={4}
261-
/>
262-
</Box>
256+
<MultichainAccountNetworkGroup
257+
groupId={selectedMultichainAccountId}
258+
limit={4}
259+
/>
263260
</MultichainHoveredAddressRowsList>
264261
</Box>
265262
)}

0 commit comments

Comments
 (0)