Skip to content

Commit b93100b

Browse files
committed
make modal window fullscreen
Signed-off-by: Maxim Sukharev <[email protected]>
1 parent 0b891b1 commit b93100b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

frontend/src/App.less

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,16 @@ body {
6565
}
6666
}
6767
}
68+
69+
// make modal window "fullscreen"
70+
// margins are hard-coded in bootstrap, so it's hard-coded here too
71+
.modal-body {
72+
max-height: ~'calc(100vh - 80px)';
73+
overflow-y: auto;
74+
}
75+
76+
@media (min-width: @screen-sm-min) {
77+
.modal-body {
78+
max-height: ~'calc(100vh - 120px)';
79+
}
80+
}

0 commit comments

Comments
 (0)