Commit ef02b4b6 authored by JC Brand's avatar JC Brand

Tweak the send button CSS (positioning and margin)

parent 09251f32
......@@ -1621,7 +1621,7 @@
height: calc(100% - 96px); }
#converse-embedded-chat .chatbox .chat-content-sendbutton,
#conversejs .chatbox .chat-content-sendbutton {
height: calc(100% - 123px); }
height: calc(100% - 128px); }
#converse-embedded-chat .chatbox .dropdown,
#conversejs .chatbox .dropdown {
/* status dropdown styles */
......@@ -1667,13 +1667,13 @@
#conversejs .chatbox form.sendXMPPMessage .send-button {
position: absolute;
left: 3px;
width: -webkit-calc(100% - 3px - 3px);
width: calc(100% - 3px - 3px);
width: -webkit-calc(100% - 6px);
width: calc(100% - 6px);
background-color: #F4A261;
color: white;
font-size: 80%;
height: 27px;
bottom: -24px; }
bottom: -30px; }
#converse-embedded-chat .chatbox form.sendXMPPMessage .chat-toolbar,
#conversejs .chatbox form.sendXMPPMessage .chat-toolbar {
box-sizing: border-box;
......
......@@ -220,7 +220,7 @@
height: calc(100% - #{$toolbar-height + $chat-textarea-height +1px});
}
.chat-content-sendbutton {
height: calc(100% - #{$toolbar-height + $chat-textarea-height + $send-button-height + 1px});
height: calc(100% - #{$toolbar-height + $chat-textarea-height + $send-button-height + 2*$send-button-margin});
}
.dropdown { /* status dropdown styles */
......@@ -261,12 +261,12 @@
.send-button {
position: absolute;
left: $send-button-margin;
@include calc(width, '100% - #{$send-button-margin} - #{$send-button-margin}');
@include calc(width, '100% - #{2*$send-button-margin}');
background-color: $chat-head-color;
color: $inverse-link-color;
font-size: 80%;
height: $send-button-height;
bottom: -$send-button-height + $send-button-margin;
bottom: -$send-button-height - $send-button-margin;
}
.chat-toolbar {
......
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