Skip to content

Commit 8f6da58

Browse files
balogh.adam@icloud.combalogh.adam@icloud.com
authored andcommitted
mobile
1 parent 3579c88 commit 8f6da58

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

ui/tx/TxSubHeading.tsx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,15 @@ const TxSubHeading = ({ hash, hasTag, txQuery }: Props) => {
126126
alignItems="center"
127127
gap={ 2.5 }
128128
fontFamily="system-ui, -apple-system, sans-serif"
129+
w="100%"
130+
minW={ 0 }
129131
>
130-
<Skeleton loading={ txQuery.isPlaceholderData }>
132+
<Skeleton loading={ txQuery.isPlaceholderData } w="100%" minW={ 0 }>
131133
<Flex
132134
alignItems="center"
133135
gap={ 2 }
136+
w="100%"
137+
minW={ 0 }
134138
>
135139
<Badge
136140
colorPalette="gray"
@@ -150,10 +154,13 @@ const TxSubHeading = ({ hash, hasTag, txQuery }: Props) => {
150154
_dark: 'rgba(148, 163, 184, 0.2)',
151155
}}
152156
color={{ _light: 'rgba(30, 58, 138, 0.95)', _dark: 'rgba(255, 255, 255, 0.95)' }}
157+
flex="1"
158+
minW={ 0 }
159+
overflow="hidden"
153160
>
154161
<HashStringShortenDynamic hash={ hash }/>
155162
</Badge>
156-
<CopyToClipboard text={ hash } isLoading={ txQuery.isPlaceholderData }/>
163+
<CopyToClipboard text={ hash } isLoading={ txQuery.isPlaceholderData } flexShrink={ 0 }/>
157164
</Flex>
158165
</Skeleton>
159166
</Flex>

0 commit comments

Comments
 (0)