Skip to content

Commit 677007b

Browse files
author
marker dao ®
committed
feat(chatTextArea): Move styles to chat base
1 parent 5be1bc2 commit 677007b

File tree

4 files changed

+20
-12
lines changed

4 files changed

+20
-12
lines changed

packages/devextreme-scss/scss/widgets/base/chat/layout/chat-messagebox/_index.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@
2222
padding: 0;
2323
}
2424
}
25+
26+
> .dx-texteditor-container {
27+
.dx-texteditor-input {
28+
max-height: 7.1em;
29+
}
30+
}
2531
}
2632
}
2733

packages/devextreme-scss/scss/widgets/base/chat/layout/chat-messagelist/_index.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
.dx-chat-messagelist {
44
flex-grow: 1;
5+
min-height: 3.57em;
56
overflow: hidden;
67

78
.dx-scrollable-container {

packages/devextreme-scss/scss/widgets/base/chat/layout/chat/_index.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
flex-direction: column;
44
width: 100%;
55
height: 100%;
6-
min-width: 20em;
7-
min-height: 20em;
6+
min-width: 22.45em;
7+
min-height: 38em;
8+
overflow-y: auto;
89

910
&.dx-state-disabled {
1011
opacity: 0.5;

packages/devextreme/playground/jquery.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,17 @@
4444
<script type="text/javascript" src="../../../node_modules/axe-core/axe.min.js"></script>
4545

4646
<style>
47-
.dx-chat {
48-
min-height: 38em !important;
49-
min-width: 22.45em !important;
47+
/* .dx-chat { */
48+
/* min-height: 38em !important; */
49+
/* min-width: 22.45em !important; */
5050
/* DEBUG */
51-
overflow-y: auto;
51+
/* overflow-y: auto; */
5252
/* END DEBUG */
53-
}
53+
/* } */
5454

55-
.dx-chat-messagelist {
55+
/* .dx-chat-messagelist {
5656
min-height: 3.57em !important;
57-
}
57+
} */
5858

5959
/* .dx-chat-messagebox { */
6060
/* DEBUG */
@@ -74,11 +74,11 @@
7474
} */
7575
/* END DEBUG */
7676

77-
.dx-texteditor-input {
77+
/* .dx-texteditor-input { */
7878
/* min-height: 4.29em !important; */
7979
/* max-height: 17.85em !important; */
80-
max-height: 7.1em !important;
81-
}
80+
/* max-height: 7.1em !important; */
81+
/* } */
8282

8383
/* .dx-fileuploader-container {
8484
display: block !important;

0 commit comments

Comments
 (0)