From 39718e2e2398cfdcf4c0981e63b12ebb66aa5b37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20V=C3=A1clav=C3=ADk?= Date: Wed, 11 Dec 2024 12:44:33 +0100 Subject: [PATCH] fix(suite): Fix labeling issue on switch device --- .../suite/labeling/MetadataLabeling/MetadataLabeling.tsx | 1 + 1 file changed, 1 insertion(+) 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