Skip to content

Commit 5bd8796

Browse files
authored
fix: The "optional" label in the signature component is incorrectly positioned (#8693)
fix: The “optional” label in the signature component is incorrectly positioned
1 parent 7d7a764 commit 5bd8796

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/ui-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@node-core/ui-components",
3-
"version": "1.6.1",
3+
"version": "1.6.2",
44
"type": "module",
55
"exports": {
66
"./*": {

packages/ui-components/src/Common/Signature/SignatureHeader/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const SignatureHeader: FC<SignatureHeaderProps> = ({
3030
[styles.longName]: name.length > 16,
3131
})}
3232
>
33-
{name}:
33+
{name}
3434
{optional && (
3535
<span
3636
role="img"
@@ -41,6 +41,7 @@ const SignatureHeader: FC<SignatureHeaderProps> = ({
4141
?
4242
</span>
4343
)}
44+
:
4445
</span>
4546
</span>
4647
)}

0 commit comments

Comments
 (0)