Skip to content

Commit

Permalink
fix some styles
Browse files Browse the repository at this point in the history
  • Loading branch information
fxpw committed Aug 18, 2024
1 parent e16fec3 commit 3626af7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions css/conversation.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
padding: 10px;
overflow-y: auto;
max-height: calc(100% - 27%);
height: 58vh;
/* max-height: calc(100% - 10%); */
/* Пример ограничения высоты контейнера, чтобы включить скроллинг */
}
Expand Down
14 changes: 7 additions & 7 deletions js/conversation.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,21 +170,21 @@ function createConversationBody(message) {
if (!$(this).hasClass('summernote-initialized')) {
$("#conversationTextToSendInput").summernote({
tabsize: 3,
height: 100,

height: 130,
// airMode: true,
toolbar: [
// ['style', ['style']],
['font', ['bold', 'italic', 'underline', 'clear']],
['fontname', ['fontname']],
['fontsize', ['fontsize']],
['color', ['color']],
['para', ['ul', 'ol', 'paragraph']],
// ['fontname', ['fontname']],
// ['fontsize', ['fontsize']],
// ['color', ['color']],
['para', ['ul', 'ol']],
// ['height', ['height']],
// ['table', ['table']],
// ['insert', ['link', 'picture', 'video']],
// ['view', ['fullscreen', 'codeview', 'help']]
],
fontsize: ['8', '9', '10', '11', '12', '14', '16', '18', '20', '22', '24', '26', '28', '36', '48', '64', '82', '150'],
// fontsize: ['8', '9', '10', '11', '12', '14', '16', '18', '20', '22', '24', '26', '28', '36', '48', '64', '82', '150'],
callbacks: {
onKeyup: function (event) {
// console.log('Key is released:', event.keyCode);
Expand Down

0 comments on commit 3626af7

Please sign in to comment.