Skip to content

Commit 64f3290

Browse files
authored
Make dialog box scroll on overflow (#1649)
## Purpose The modal for the links on the project analytics page doesn't scroll. Instead, it just runs off the screen if there's too much content, and that content will never be seen. This makes it so that the dialog box behaves properly with the scrolling and the not overfilling the screen. ## Summary of Changes 1. Add max-height to the modal 2. Set overflow to scroll ## Side Effects If there were any other `bs-modal-simple`s on the page, they would also be upgraded. But there aren't, so this is isolated.
1 parent c867b98 commit 64f3290

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/analytics-page/addon/application/styles.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
margin-top: 20px;
1616
}
1717

18+
:global(.modal-body) {
19+
max-height: 80vh;
20+
overflow: scroll;
21+
}
22+
1823
.CountBox {
1924
text-align: center;
2025

0 commit comments

Comments
 (0)