Allow modal content to grow
This commit is contained in:
@ -25,6 +25,25 @@
|
|||||||
.modal-content {
|
.modal-content {
|
||||||
min-height: 512px;
|
min-height: 512px;
|
||||||
min-width: 360px;
|
min-width: 360px;
|
||||||
|
max-height: 90vh;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
.modal-body {
|
||||||
|
flex-grow: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
#otherComments {
|
||||||
|
flex-grow: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
.container {
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment {
|
.comment {
|
||||||
@ -90,7 +109,6 @@
|
|||||||
|
|
||||||
.container {
|
.container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-height: 200px;
|
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
border: 1px solid #cccccc;
|
border: 1px solid #cccccc;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
@ -118,4 +136,8 @@
|
|||||||
textarea {
|
textarea {
|
||||||
resize: none;
|
resize: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
}
|
}
|
@ -5,5 +5,4 @@
|
|||||||
#myComment
|
#myComment
|
||||||
h5 =t('exercises.implement.comment.addyours')
|
h5 =t('exercises.implement.comment.addyours')
|
||||||
textarea.form-control
|
textarea.form-control
|
||||||
|
button#addCommentButton.btn.btn-block.btn-primary(type='button') =t('exercises.implement.comment.addCommentButton')
|
||||||
button#addCommentButton.btn.btn-block.btn-primary(type='button') =t('exercises.implement.comment.addCommentButton')
|
|
Reference in New Issue
Block a user