From 73ccf723353e0575a64f58b2f5775d20f072311f Mon Sep 17 00:00:00 2001 From: Matej Kriz Date: Tue, 8 Nov 2022 10:51:40 +0100 Subject: [PATCH] fix(suite): add heading to firmware installation modals to fix close button position and unify with other modals (cherry picked from commit 530a66d2d49bb043a30a82baaa0d2636ef64d649) --- packages/suite/src/views/firmware/index.tsx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/packages/suite/src/views/firmware/index.tsx b/packages/suite/src/views/firmware/index.tsx index 485dbdde9b0..1d5f0183ef7 100644 --- a/packages/suite/src/views/firmware/index.tsx +++ b/packages/suite/src/views/firmware/index.tsx @@ -34,16 +34,6 @@ const Wrapper = styled.div<{ isWithTopPadding: boolean }>` const StyledModal = styled(Modal)` width: 620px; min-height: 540px; - - > ${Modal.Body} { - padding: 0; - margin-top: 0; - height: 100%; - - > * { - height: 100%; - } - } `; type FirmwareProps = { @@ -178,6 +168,7 @@ export const Firmware = ({ shouldSwitchFirmwareType }: FirmwareProps) => { } onCancel={onClose} data-test="@firmware" + heading={} > {Component}