1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-01 09:22:55 +02:00

Decouple Modal's scrollbar functionality (#33245)

This commit is contained in:
GeoSot
2021-04-11 09:37:59 +03:00
committed by GitHub
parent 2d2f5b3dfd
commit 7b7f4a5ced
4 changed files with 27 additions and 121 deletions

View File

@@ -159,15 +159,6 @@
}
}
// Measure scrollbar width for padding body during modal show/hide
.modal-scrollbar-measure {
position: absolute;
top: -9999px;
width: 50px;
height: 50px;
overflow: scroll;
}
// Scale up the modal
@include media-breakpoint-up(sm) {
// Automatically set modal's width for larger viewports