Make modal resizable
This commit is contained in:
@ -22,6 +22,11 @@
|
|||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.modal-content {
|
||||||
|
min-height: 512px;
|
||||||
|
min-width: 360px;
|
||||||
|
}
|
||||||
|
|
||||||
.comment {
|
.comment {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-width: 200px;
|
min-width: 200px;
|
||||||
|
@ -81,7 +81,11 @@ also, all settings from the rails model needed for the editor configuration in t
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
$('.modal-content').draggable({handle: '.modal-header'});
|
$('.modal-content').draggable({
|
||||||
|
handle: '.modal-header'
|
||||||
|
}).resizable({
|
||||||
|
autoHide: true
|
||||||
|
});
|
||||||
|
|
||||||
var solvedButton = $('#mark-as-solved-button');
|
var solvedButton = $('#mark-as-solved-button');
|
||||||
var addCommentExerciseButton = $('#addCommentExerciseButton');
|
var addCommentExerciseButton = $('#addCommentExerciseButton');
|
||||||
|
Reference in New Issue
Block a user