Commit d7f291ed authored by JC Brand's avatar JC Brand

Hide the textarea resize handle

parent 9a031698
...@@ -7620,6 +7620,9 @@ body.reset { ...@@ -7620,6 +7620,9 @@ body.reset {
left: 0; } left: 0; }
/* ******************* Overlay and embedded styles *************************** */ /* ******************* Overlay and embedded styles *************************** */
#conversejs.converse-embedded .chat-textarea {
max-height: 15em; }
#conversejs.converse-embedded .chat-head, #conversejs.converse-embedded .chat-head,
#conversejs.converse-overlayed .chat-head { #conversejs.converse-overlayed .chat-head {
border-top-left-radius: 4px; border-top-left-radius: 4px;
...@@ -7701,7 +7704,7 @@ body.reset { ...@@ -7701,7 +7704,7 @@ body.reset {
flex: 0 0 16.6666666667%; flex: 0 0 16.6666666667%;
max-width: 16.6666666667%; } max-width: 16.6666666667%; }
#conversejs.converse-fullscreen .chat-textarea { #conversejs.converse-fullscreen .chat-textarea {
max-height: 400px; } max-height: 15em; }
#conversejs.converse-fullscreen .emoji-picker { #conversejs.converse-fullscreen .emoji-picker {
height: 150px; } height: 150px; }
#conversejs.converse-fullscreen .chatbox { #conversejs.converse-fullscreen .chatbox {
...@@ -8677,7 +8680,8 @@ body.reset { ...@@ -8677,7 +8680,8 @@ body.reset {
color: #E77051; } color: #E77051; }
#conversejs.converse-embedded .chatroom .sendXMPPMessage .chat-textarea, #conversejs.converse-embedded .chatroom .sendXMPPMessage .chat-textarea,
#conversejs .chatroom .sendXMPPMessage .chat-textarea { #conversejs .chatroom .sendXMPPMessage .chat-textarea {
border-bottom-right-radius: 0; } border-bottom-right-radius: 0;
resize: none; }
#conversejs.converse-embedded .chatroom .sendXMPPMessage .chat-textarea.correcting, #conversejs.converse-embedded .chatroom .sendXMPPMessage .chat-textarea.correcting,
#conversejs .chatroom .sendXMPPMessage .chat-textarea.correcting { #conversejs .chatroom .sendXMPPMessage .chat-textarea.correcting {
background-color: #fadfd7; } background-color: #fadfd7; }
......
...@@ -438,6 +438,12 @@ ...@@ -438,6 +438,12 @@
/* ******************* Overlay and embedded styles *************************** */ /* ******************* Overlay and embedded styles *************************** */
#conversejs.converse-embedded {
.chat-textarea {
max-height: $fullpage-max-chat-textarea-height;
}
}
#conversejs.converse-embedded, #conversejs.converse-embedded,
#conversejs.converse-overlayed { #conversejs.converse-overlayed {
.chat-head { .chat-head {
......
...@@ -271,6 +271,7 @@ ...@@ -271,6 +271,7 @@
} }
.chat-textarea { .chat-textarea {
border-bottom-right-radius: 0; border-bottom-right-radius: 0;
resize: none;
&.correcting { &.correcting {
background-color: lighten($chatroom-head-color, 30%); background-color: lighten($chatroom-head-color, 30%);
} }
......
...@@ -146,7 +146,7 @@ $fullpage-chat-head-height: 62px !default; ...@@ -146,7 +146,7 @@ $fullpage-chat-head-height: 62px !default;
$fullpage-chat-height: 100vh; $fullpage-chat-height: 100vh;
$fullpage-chat-width: 100%; $fullpage-chat-width: 100%;
$fullpage-emoji-picker-height: 150px !default; $fullpage-emoji-picker-height: 150px !default;
$fullpage-max-chat-textarea-height: 400px !default; $fullpage-max-chat-textarea-height: 15em!default;
$overlayed-chat-head-height: 55px !default; $overlayed-chat-head-height: 55px !default;
$overlayed-chat-height: 450px !default; $overlayed-chat-height: 450px !default;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment