mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
Merge pull request #34333 from overleaf/em-scrollable-bibtex-modals
[web] Scroll the contents of the BibTeX modals GitOrigin-RevId: 8fcbe2520dca458d0fa15ba98047d0bdfcb53596
This commit is contained in:
@@ -33,6 +33,18 @@
|
||||
}
|
||||
}
|
||||
|
||||
// OLModal wraps children in a FocusTrap that renders a <div> between
|
||||
// .modal-content and .modal-header/.modal-body/.modal-footer, breaking
|
||||
// Bootstrap's flex chain for scrollable modals. Make it a flex column so
|
||||
// .modal-body inside it can grow and scroll correctly.
|
||||
.modal-dialog-scrollable .modal-content > div {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
@include shadow-lg;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user