Skip to content

Commit 3afda7c

Browse files
committed
fix: resolved comments4
1 parent 91de439 commit 3afda7c

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

packages/cfd/src/Containers/mt5-create-password/mt5-create-password.scss

+4-10
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,6 @@
33
display: flex;
44
flex-direction: column;
55
justify-content: flex-start;
6-
@include mobile-or-tablet-screen {
7-
.mt5-password-modal__content {
8-
overflow-y: auto;
9-
overflow-x: hidden;
10-
height: 100%;
11-
width: 100%;
12-
max-height: calc(100vh - 6.4rem);
13-
}
14-
}
156

167
&__description {
178
text-transform: none;
@@ -61,7 +52,10 @@
6152
}
6253
&__content {
6354
@include mobile-or-tablet-screen {
55+
overflow-y: auto;
56+
overflow-x: hidden;
6457
height: 100%;
58+
width: 100%;
6559
padding: 0;
6660
justify-content: space-between;
6761
}
@@ -78,7 +72,7 @@
7872

7973
@include mobile-or-tablet-screen {
8074
height: 100%;
81-
padding: 4rem 1.6rem;
75+
padding: 1.6rem;
8276
}
8377
}
8478

packages/cfd/src/Containers/mt5-create-password/mt5-create-password.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const MT5CreatePassword = ({
7171
}) => (
7272
<form onSubmit={handleSubmit}>
7373
<div
74-
className='mt5-password-modal__content dc-modal__container_mt5-password-modal__body form'
74+
className='mt5-password-modal__content dc-modal__container_mt5-password-modal__body'
7575
data-testid='dt_mt5_create_password'
7676
>
7777
<div className='mt5-password-modal__create-password-content'>

0 commit comments

Comments
 (0)