|
56 | 56 | min-height: 3.57em !important; |
57 | 57 | } |
58 | 58 |
|
59 | | - .dx-chat-messagebox { |
| 59 | + /* .dx-chat-messagebox { */ |
60 | 60 | /* DEBUG */ |
61 | 61 | /* max-height: 39.29em !important; */ |
62 | 62 | /* END DEBUG */ |
63 | | - flex-shrink: 0; |
64 | | - } |
| 63 | + /* flex-shrink: 0; */ |
| 64 | + /* } */ |
65 | 65 |
|
66 | 66 | /* .dx-chat-textarea { |
67 | 67 | max-height: unset !important; |
|
75 | 75 | /* END DEBUG */ |
76 | 76 |
|
77 | 77 | .dx-texteditor-input { |
78 | | - min-height: 4.29em !important; |
79 | | - max-height: 17.85em !important; |
| 78 | + /* min-height: 4.29em !important; */ |
| 79 | + /* max-height: 17.85em !important; */ |
| 80 | + max-height: 7.1em !important; |
80 | 81 | } |
81 | 82 |
|
82 | | - .dx-fileuploader-container { |
| 83 | + /* .dx-fileuploader-container { |
83 | 84 | display: block !important; |
84 | 85 | table-layout: unset !important; |
85 | | - } |
| 86 | + } */ |
86 | 87 |
|
87 | | - .dx-fileuploader-content { |
| 88 | + /* .dx-fileuploader-content { |
88 | 89 | display: block !important; |
89 | | - } |
| 90 | + } */ |
90 | 91 |
|
91 | | - .dx-fileuploader-files-container { |
| 92 | + /* .dx-fileuploader-files-container { |
92 | 93 | padding: 2px 3px 3px !important; |
93 | 94 | display: grid; |
94 | 95 | grid-template-columns: repeat(auto-fit, 17.14em); |
95 | 96 | gap: 8px; |
96 | | - } |
| 97 | + } */ |
97 | 98 |
|
98 | | - .dx-fileuploader-file-container { |
| 99 | + /* .dx-fileuploader-file-container { |
99 | 100 | margin-bottom: 0 !important; |
100 | | - } |
| 101 | + } */ |
101 | 102 | </style> |
102 | 103 | </head> |
103 | 104 |
|
@@ -130,14 +131,28 @@ <h1 style="position: fixed; left: 0; top: 0; clip: rect(1px, 1px, 1px, 1px);">Te |
130 | 131 | const chat = $("#chat") |
131 | 132 | .dxChat({ |
132 | 133 | // height: '95vh', |
133 | | - height: 200, |
| 134 | + height: 600, |
134 | 135 | dataSource, |
135 | 136 | editing: { |
136 | 137 | allowUpdating: true, |
137 | 138 | }, |
138 | 139 | reloadOnChange: false, |
139 | 140 | user: currentUser, |
140 | 141 | showAvatar: false, |
| 142 | + alerts: [ |
| 143 | + { |
| 144 | + message: 'One file attached and the message is a little longer', |
| 145 | + }, |
| 146 | + { |
| 147 | + message: 'One file attached and the message is a little longer', |
| 148 | + }, |
| 149 | + { |
| 150 | + message: 'One file attached and the message is a little longer', |
| 151 | + }, |
| 152 | + { |
| 153 | + message: 'One file attached and the message is a little longer', |
| 154 | + }, |
| 155 | + ], |
141 | 156 | onMessageEntered(e) { |
142 | 157 | const { message } = e; |
143 | 158 |
|
|
0 commit comments