Update IdDisplay component to enhance styling with minWidth and width properties for better layout control
This commit is contained in:
parent
475f06e5f0
commit
5cf4976635
@ -45,10 +45,18 @@ const IdDisplay = ({
|
||||
}
|
||||
|
||||
return (
|
||||
<Flex align={'end'} className='iddisplay'>
|
||||
<Flex
|
||||
align={'end'}
|
||||
className='iddisplay'
|
||||
style={{ minWidth: '0px', width: '100%' }}
|
||||
>
|
||||
{(() => {
|
||||
const textElement = (
|
||||
<Text code ellipsis style={showCopy ? { marginRight: 6 } : undefined}>
|
||||
<Text
|
||||
code
|
||||
ellipsis
|
||||
style={showCopy ? { marginRight: 6, minWidth: '0px' } : undefined}
|
||||
>
|
||||
{displayId}
|
||||
</Text>
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user