Skip to content

Commit 042abed

Browse files
authored
fix(suite): Update breakpoint for welcome screen (#17535)
1 parent cbf8a31 commit 042abed

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

packages/suite/src/components/suite/SecurityCheck/SecurityCheckFail.tsx

+7-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,13 @@ export const SecurityCheckFail = ({
6767
</Button>
6868
)}
6969
<Flex>
70-
<Button href={chatUrl} isFullWidth size="large" variant={supportButtonVariant}>
70+
<Button
71+
textWrap={false}
72+
href={chatUrl}
73+
isFullWidth
74+
size="large"
75+
variant={supportButtonVariant}
76+
>
7177
<Translation id="TR_CONTACT_TREZOR_SUPPORT" />
7278
</Button>
7379
</Flex>

packages/suite/src/components/suite/SecurityCheck/SecurityCheckLayout.tsx

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import styled from 'styled-components';
22

33
import { selectSelectedDevice } from '@suite-common/wallet-core';
4-
import { DeviceAnimation, Image, variables } from '@trezor/components';
4+
import { DeviceAnimation, Image } from '@trezor/components';
55
import { DeviceModelInternal } from '@trezor/device-utils';
6+
import { breakpointMediaQueries } from '@trezor/styles';
67

78
import { useSelector } from 'src/hooks/suite';
89

@@ -12,7 +13,7 @@ const Wrapper = styled.div`
1213
gap: 24px;
1314
width: 100%;
1415
15-
@media only screen and (max-width: ${variables.SCREEN_SIZE.XL}) {
16+
${breakpointMediaQueries.below_md} {
1617
grid-template-columns: 1fr;
1718
flex-direction: column;
1819
}

0 commit comments

Comments
 (0)