Fix chat input line height

Fix preloader overflow
This commit is contained in:
Eduard Kuzmenko 2021-01-29 02:52:54 +02:00
parent 1171388a40
commit 2f36ebc61c
3 changed files with 10 additions and 2 deletions

View File

@ -377,6 +377,10 @@ export default class ChatInput {
this.onMessageInput();
}
}
if(this.messageInputField) {
this.messageInputField.onFakeInput();
}
});
this.listenerSetter.add(rootScope, 'draft_updated', (e) => {

View File

@ -116,10 +116,11 @@ $chat-helper-size: 39px;
background: none;
border: none;
width: 100%;
padding: .6875rem .5625rem;
padding: 0 .5625rem;
/* height: 100%; */
margin-top: -1px;
max-height: calc(30rem - 2.5rem); // 2.5rem - input helper (reply)
min-height: inherit;
//min-height: inherit;
overflow-y: none;
resize: none;
border: none;
@ -832,6 +833,8 @@ $chat-helper-size: 39px;
overflow: hidden;
align-self: center;
min-height: calc(var(--chat-input-size) - var(--padding-vertical) * 2);
display: flex;
align-items: center;
> .scrollable {
position: relative;

View File

@ -36,6 +36,7 @@ $transition: .2s ease-in-out;
height: 54px;
display: flex;
cursor: pointer;
overflow: hidden; // * fix overflow of rotate
opacity: 0;
transform: scale(0);