Skip to content

Commit 3a1558f

Browse files
committed
fix: cleaned code added missing style
1 parent e651aac commit 3a1558f

File tree

3 files changed

+16
-41
lines changed

3 files changed

+16
-41
lines changed

packages/appstore/src/components/cfds-listing/cfds-listing.scss

+15
Original file line numberDiff line numberDiff line change
@@ -2092,6 +2092,21 @@
20922092
flex-direction: row;
20932093
}
20942094
}
2095+
2096+
&-info {
2097+
border-radius: 0.4rem;
2098+
background: $color-status-information;
2099+
display: flex;
2100+
padding: 0.8rem;
2101+
align-items: flex-start;
2102+
gap: 0.8rem;
2103+
margin-block-end: 0.8rem;
2104+
&__icon {
2105+
flex-basis: 1.6rem;
2106+
max-width: 1.6rem;
2107+
}
2108+
}
2109+
20952110
&__create-password {
20962111
padding: 0 1.2rem;
20972112

packages/cfd/src/Containers/cfd-password-modal.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import { useCfdStore } from '../Stores/Modules/CFD/Helpers/useCfdStores';
3636
import { CFD_PLATFORMS, CATEGORY } from '../Helpers/cfd-config';
3737
import classNames from 'classnames';
3838
import { getDxCompanies, getMtCompanies, TDxCompanies, TMtCompanies } from '../Stores/Modules/CFD/Helpers/cfd-config';
39-
import './mt5-create-password/mt5-create-password.scss';
39+
4040
import { useGetDefaultMT5Jurisdiction } from '@deriv/hooks';
4141

4242
const MT5CreatePassword = makeLazyLoader(

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

-40
Original file line numberDiff line numberDiff line change
@@ -183,44 +183,4 @@
183183
width: 100%;
184184
}
185185
}
186-
&--absolute {
187-
position: absolute;
188-
right: 0;
189-
bottom: 0;
190-
padding: 1.6rem;
191-
width: 100%;
192-
background-color: var(--general-main-1);
193-
border-top: 1px solid var(--general-section-1);
194-
}
195-
&--center {
196-
justify-content: center;
197-
width: 100%;
198-
height: 100%;
199-
200-
& .btn {
201-
min-width: 9rem;
202-
}
203-
}
204-
&--error {
205-
text-transform: none;
206-
}
207-
@include mobile-or-tablet-screen {
208-
&--absolute {
209-
top: unset;
210-
bottom: 0;
211-
left: 0;
212-
position: fixed;
213-
padding: 1.6rem;
214-
border-top: 2px solid var(--general-disabled);
215-
max-height: 70px;
216-
width: 100%;
217-
justify-content: center;
218-
219-
.dc-btn {
220-
height: 40px;
221-
width: 100%;
222-
max-width: 30rem;
223-
}
224-
}
225-
}
226186
}

0 commit comments

Comments
 (0)