Skip to content

Commit 39718e2

Browse files
committed
fix(suite): Fix labeling issue on switch device
1 parent 27542eb commit 39718e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/suite/src/components/suite/labeling/MetadataLabeling/MetadataLabeling.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ const ActionButton = styled(Button)<{ $isValueVisible?: boolean; $isVisible?: bo
6565
margin-left: ${({ $isValueVisible, $isVisible, isLoading }) =>
6666
$isValueVisible || !$isVisible || isLoading ? '12px' : '4px'};
6767
visibility: ${({ $isVisible }) => ($isVisible ? 'visible' : 'hidden')};
68+
width: ${({ $isVisible }) => ($isVisible ? 'auto' : '0')};
6869
`;
6970

7071
// @TODO this shouldn't be Button

0 commit comments

Comments
 (0)