Skip to content

Commit 1cf21d3

Browse files
authored
Fix fraud settings modal styles causing prompt for review modal UI bugs. (#10557)
1 parent 9691b28 commit 1cf21d3

File tree

2 files changed

+43
-36
lines changed

2 files changed

+43
-36
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Significance: patch
2+
Type: dev
3+
Comment: Insignificant refactor of fraud settings modal CSS to limit global styles affecting merchant feedback prompt
4+
5+

client/settings/fraud-protection/style.scss

Lines changed: 38 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -251,52 +251,54 @@
251251
}
252252
}
253253

254-
.components-modal__header {
255-
border-bottom: 1px solid #ddd;
256-
}
254+
.fraud-protection-level-modal {
255+
.components-modal__header {
256+
border-bottom: 1px solid #ddd;
257+
}
257258

258-
.components-modal__body--fraud-protection {
259-
padding-top: 24px;
259+
.components-modal__body--fraud-protection {
260+
padding-top: 24px;
260261

261-
ul {
262-
list-style-type: disc;
263-
margin-left: 24px;
262+
ul {
263+
list-style-type: disc;
264+
margin-left: 24px;
265+
}
264266
}
265-
}
266267

267-
.component-modal__text {
268-
&--blocked {
269-
color: #b32d2e;
270-
}
271-
&--review {
272-
color: #996800;
268+
.component-modal__text {
269+
&--blocked {
270+
color: #b32d2e;
271+
}
272+
&--review {
273+
color: #996800;
274+
}
273275
}
274-
}
275276

276-
.component-modal__button {
277-
&--confirm {
278-
display: block;
279-
margin-left: auto;
277+
.component-modal__button {
278+
&--confirm {
279+
display: block;
280+
margin-left: auto;
281+
}
280282
}
281-
}
282283

283-
.component-notice--is-info {
284-
margin-left: 0;
285-
margin-right: 0;
286-
margin-bottom: 1em;
287-
background-color: #f0f6fc;
288-
border-left: none;
289-
}
284+
.component-notice--is-info {
285+
margin-left: 0;
286+
margin-right: 0;
287+
margin-bottom: 1em;
288+
background-color: #f0f6fc;
289+
border-left: none;
290+
}
290291

291-
.component-notice__icon {
292-
margin-right: 10px;
293-
align-self: center;
294-
}
292+
.component-notice__icon {
293+
margin-right: 10px;
294+
align-self: center;
295+
}
295296

296-
.component-notice__content--flex {
297-
display: flex;
298-
flex-direction: row;
299-
align-items: flex-start;
297+
.component-notice__content--flex {
298+
display: flex;
299+
flex-direction: row;
300+
align-items: flex-start;
301+
}
300302
}
301303

302304
#fraud-protection-welcome-tour-first-step {

0 commit comments

Comments
 (0)