Skip to content

Commit 3cb4598

Browse files
tmorehousejacobmllr95
authored andcommitted
chore(modal): simplify modal backdrop CSS tweak for re-usable transition (bootstrap-vue#3439)
removed the double `:not(...)` selector, as it was not really needed, as the `.modal-backdrop.show` and `.modal-backdrop.fade` classes have more specificity.
1 parent e9b33e1 commit 3cb4598

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/modal/_modal.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Needed to allow Vue transition system to work with Bootstrap V4 .modal-backdrop
2-
.modal-backdrop:not(.show):not(.fade) {
2+
// as modal opacity is 1 by default
3+
.modal-backdrop {
34
opacity: $modal-backdrop-opacity;
45
}

0 commit comments

Comments
 (0)