Skip to content

Commit d95cece

Browse files
committed
Revert "Implemented fix for multiple dialog scrolling issue"
This reverts commit 42c4136.
1 parent bb02b1e commit d95cece

File tree

2 files changed

+0
-151
lines changed

2 files changed

+0
-151
lines changed

src/BootstrapBlazor.Server/Components/Pages/TestScrollDialog.razor

Lines changed: 0 additions & 134 deletions
This file was deleted.

src/BootstrapBlazor/Components/Modal/Modal.razor.scss

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,6 @@
8585
.modal-multiple .modal-dialog {
8686
position: fixed;
8787
inset: 0;
88-
display: flex;
89-
align-items: center;
90-
justify-content: center;
91-
padding: var(--bs-modal-margin, 0.5rem);
9288

9389
&:last-child:before {
9490
content: "";
@@ -98,19 +94,6 @@
9894
opacity: 0.3;
9995
pointer-events: auto;
10096
}
101-
102-
// Ensure scrolling works for multiple dialogs by fixing the modal-content sizing
103-
.modal-content {
104-
max-height: calc(100vh - var(--bs-modal-margin, 0.5rem) * 2);
105-
overflow: hidden;
106-
display: flex;
107-
flex-direction: column;
108-
}
109-
110-
.modal-body {
111-
overflow-y: auto;
112-
flex: 1 1 auto;
113-
}
11497
}
11598

11699
.modal-multiple ~ .modal-backdrop {

0 commit comments

Comments
 (0)