Skip to content

Commit 31cb2e5

Browse files
committed
fix: prevent blue background on modal backdrop
1 parent 27b7d4c commit 31cb2e5

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/components/EductionPortal/StudentProfile/StudentProfile.module.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,11 @@
390390
align-items: center;
391391
justify-content: center;
392392
z-index: 1000;
393+
outline: none;
394+
}
395+
396+
.modalOverlay:focus {
397+
outline: none;
393398
}
394399

395400
.modalBackdrop {
@@ -402,6 +407,14 @@
402407
border: none;
403408
cursor: pointer;
404409
z-index: -1;
410+
outline: none;
411+
}
412+
413+
.modalBackdrop:hover,
414+
.modalBackdrop:focus,
415+
.modalBackdrop:active {
416+
background: transparent;
417+
outline: none;
405418
}
406419

407420
.modal {

0 commit comments

Comments
 (0)