Bugfix: compose window kept resizing

This commit is contained in:
djmaze 2020-09-19 13:31:59 +02:00
parent 5ef3006f4f
commit a104287aa5
2 changed files with 170 additions and 169 deletions

View file

@ -5,16 +5,19 @@
width: 98%; width: 98%;
max-width: 1000px; max-width: 1000px;
margin: 10px auto; margin: 10px auto;
/* height: calc(100% - 52px);*/
min-height: calc(100% - 52px); min-height: calc(100% - 52px);
.modal-body { .modal-body {
/* height: calc(100% - 60px);*/
padding: 0; padding: 0;
} }
} }
.textAreaParent, .attachmentAreaParent { .textAreaParent, .attachmentAreaParent {
position: relative; box-sizing: border-box;
min-height: 200px; min-height: 200px;
position: relative;
} }
.attachmentAreaParent { .attachmentAreaParent {

View file

@ -18,7 +18,6 @@
<span class="saved-text hide-on-mobile" data-bind="text: savedTimeText"></span> <span class="saved-text hide-on-mobile" data-bind="text: savedTimeText"></span>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<div>
<div class="b-header g-ui-user-select-none"> <div class="b-header g-ui-user-select-none">
<div class="g-ui-table"> <div class="g-ui-table">
<div class="e-row" style="height: 40px;"> <div class="e-row" style="height: 40px;">
@ -200,5 +199,4 @@
<div class="textAreaParent" data-bind="visible: !attachmentsPlace(), initDom: composeEditorArea"></div> <div class="textAreaParent" data-bind="visible: !attachmentsPlace(), initDom: composeEditorArea"></div>
</div> </div>
</div>
</div> </div>