fix: client blocks responsive + textarea scroll fix + max-height 200px
This commit is contained in:
parent
2b86992bd3
commit
d0fd0d8d4a
@ -809,6 +809,7 @@
|
|||||||
.clients .history__chat-form .submit {
|
.clients .history__chat-form .submit {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
width: 47px;
|
width: 47px;
|
||||||
|
vertical-align: bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
.clients .chat-form .message-input {
|
.clients .chat-form .message-input {
|
||||||
@ -1731,6 +1732,7 @@
|
|||||||
.clients .history__chat-form .submit {
|
.clients .history__chat-form .submit {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
width: 47px;
|
width: 47px;
|
||||||
|
vertical-align: bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
.clients .chat-form .message-input {
|
.clients .chat-form .message-input {
|
||||||
@ -3364,15 +3366,22 @@
|
|||||||
|
|
||||||
/* dashboard */
|
/* dashboard */
|
||||||
|
|
||||||
|
.clients .chat-form td {
|
||||||
|
vertical-align: bottom;
|
||||||
|
}
|
||||||
|
|
||||||
#clientChatTextAreaNew {
|
#clientChatTextAreaNew {
|
||||||
width: 99%;
|
width: 99%;
|
||||||
border: 0;
|
border: 0;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
max-height: 200px;
|
||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
font-family: "Lato";
|
font-family: "Lato";
|
||||||
resize: vertical;
|
resize: vertical;
|
||||||
min-height: 20px;
|
min-height: 20px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
overflow-y: auto;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.crm__dashboard {
|
.crm__dashboard {
|
||||||
|
|||||||
@ -1,2 +1,2 @@
|
|||||||
// Авто-сгенерировано: postbuild.js
|
// Авто-сгенерировано: postbuild.js
|
||||||
import '/deal/assets/index-Dl79LV36.js';
|
import '/deal/assets/index-sIFZ72XQ.js';
|
||||||
1
deal/assets/index-YuRJ4ONk.css
Normal file
1
deal/assets/index-YuRJ4ONk.css
Normal file
File diff suppressed because one or more lines are too long
3532
deal/assets/index-sIFZ72XQ.js
Normal file
3532
deal/assets/index-sIFZ72XQ.js
Normal file
File diff suppressed because one or more lines are too long
15
js/main.js
15
js/main.js
@ -8213,6 +8213,21 @@ $('body').on('paste', '#custom_frequency, #installment_period', function (e) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(document).on("focus", "#clientChatTextAreaNew", function() {
|
||||||
|
var el = this;
|
||||||
|
if (el._wheelBound) return;
|
||||||
|
el._wheelBound = true;
|
||||||
|
el.addEventListener("wheel", function(e) {
|
||||||
|
var atTop = el.scrollTop === 0 && e.deltaY < 0;
|
||||||
|
var atBottom = el.scrollTop + el.clientHeight >= el.scrollHeight && e.deltaY > 0;
|
||||||
|
if (!atTop && !atBottom) {
|
||||||
|
e.stopPropagation();
|
||||||
|
el.scrollTop += e.deltaY;
|
||||||
|
e.preventDefault();
|
||||||
|
}
|
||||||
|
}, { capture: true });
|
||||||
|
});
|
||||||
|
|
||||||
$("body").on("click", ".zipal-radio-price, .destination-box", function() {
|
$("body").on("click", ".zipal-radio-price, .destination-box", function() {
|
||||||
calculateZipalPrice();
|
calculateZipalPrice();
|
||||||
calculatePackagePrice();
|
calculatePackagePrice();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user