Skip to content

Commit

Permalink
fix: prevent button stretch
Browse files Browse the repository at this point in the history
  • Loading branch information
rpenido committed Sep 18, 2024
1 parent 9607acc commit 124bd94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/library-authoring/component-info/ComponentInfoHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const ComponentInfoHeader = ({ library, usageKey }: ComponentInfoHeaderProps) =>

return (
<Stack direction="horizontal">
{ inputIsActive
{inputIsActive
? (
<Form.Control
autoFocus
Expand All @@ -86,6 +86,7 @@ const ComponentInfoHeader = ({ library, usageKey }: ComponentInfoHeaderProps) =>
iconAs={Icon}
alt={intl.formatMessage(messages.editNameButtonAlt)}
onClick={handleClick}
size="inline"
/>
)}
</>
Expand Down

0 comments on commit 124bd94

Please sign in to comment.