fix: update the click area of the id link
Reduce the click area of the id link, change the style from block to inline-block to update the click area Change-Id: I4bfa45c28d6a5e910c802a807ffe3f9b71732c04
This commit is contained in:
parent
a17edb45fd
commit
a29d9dacd3
@ -214,4 +214,8 @@
|
|||||||
.no-margin-bottom {
|
.no-margin-bottom {
|
||||||
margin-bottom: 0 !important;
|
margin-bottom: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.inline-block {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -183,7 +183,7 @@ export const getIdRender = (value, copyable = true, isLink = true) => {
|
|||||||
return (
|
return (
|
||||||
<Paragraph
|
<Paragraph
|
||||||
copyable={{ text: value }}
|
copyable={{ text: value }}
|
||||||
className={classnames('no-wrap', 'no-margin-bottom')}
|
className={classnames('no-wrap', 'no-margin-bottom', 'inline-block')}
|
||||||
onClick={onClick}
|
onClick={onClick}
|
||||||
>
|
>
|
||||||
{shortRender}
|
{shortRender}
|
||||||
|
Loading…
Reference in New Issue
Block a user