diff --git a/packages/suite/src/components/suite/labeling/MetadataLabeling/MetadataLabeling.tsx b/packages/suite/src/components/suite/labeling/MetadataLabeling/MetadataLabeling.tsx index fbd9f60bedb..e69b1be14ae 100644 --- a/packages/suite/src/components/suite/labeling/MetadataLabeling/MetadataLabeling.tsx +++ b/packages/suite/src/components/suite/labeling/MetadataLabeling/MetadataLabeling.tsx @@ -65,6 +65,7 @@ const ActionButton = styled(Button)<{ $isValueVisible?: boolean; $isVisible?: bo margin-left: ${({ $isValueVisible, $isVisible, isLoading }) => $isValueVisible || !$isVisible || isLoading ? '12px' : '4px'}; visibility: ${({ $isVisible }) => ($isVisible ? 'visible' : 'hidden')}; + width: ${({ $isVisible }) => ($isVisible ? 'auto' : '0')}; `; // @TODO this shouldn't be Button