File tree Expand file tree Collapse file tree 11 files changed +45
-20
lines changed
Demos/Chat/PromptSuggestions Expand file tree Collapse file tree 11 files changed +45
-20
lines changed Original file line number Diff line number Diff line change 55 gap : 20px ;
66}
77
8- .options-container {
8+ .options {
99 padding : 20px ;
1010 display : flex;
1111 flex-direction : column;
1717 box-sizing : border-box;
1818}
1919
20- .options {
20+ .suggestions- options {
2121 display : flex;
2222 align-items : center;
2323 gap : 24px ;
4646 font-size : var (--dx-font-size-heading-5 );
4747}
4848
49+ ::ng-deep .dx-chat-messagelist-empty-prompt {
50+ max-width : 462px ;
51+ line-height : 20px ;
52+ }
53+
4954::ng-deep .dx-template-wrapper > div > p : first-child {
5055 margin-top : 0 ;
5156}
Original file line number Diff line number Diff line change 2424 </ div >
2525 </ dx-chat >
2626
27- < div class ="options-container ">
27+ < div class ="options ">
2828 < div class ="caption "> Suggestion Options</ div >
29- < div class ="options ">
29+ < div class ="suggestions- options ">
3030 < div class ="option ">
3131 < dx-switch
3232 [value] ="sendImmediately "
Original file line number Diff line number Diff line change @@ -103,9 +103,9 @@ export default function App() {
103103 onMessageEntered = { onMessageEntered }
104104 onInputFieldTextChanged = { onInputFieldTextChanged }
105105 />
106- < div className = 'options-container ' >
106+ < div className = 'options' >
107107 < div className = 'caption' > Suggestion Options</ div >
108- < div className = 'options' >
108+ < div className = 'suggestions- options' >
109109 < div className = 'option' >
110110 < Switch
111111 defaultValue = { false }
Original file line number Diff line number Diff line change 55 gap : 20px ;
66}
77
8- .options-container {
8+ .options {
99 padding : 20px ;
1010 display : flex;
1111 flex-direction : column;
1717 box-sizing : border-box;
1818}
1919
20- .options {
20+ .suggestions- options {
2121 display : flex;
2222 align-items : center;
2323 gap : 24px ;
4646 font-size : var (--dx-font-size-heading-5 );
4747}
4848
49+ .dx-chat-messagelist-empty-prompt {
50+ max-width : 462px ;
51+ line-height : 20px ;
52+ }
53+
4954.dx-chat-messagebubble-content > div > p : first-child {
5055 margin-top : 0 ;
5156}
Original file line number Diff line number Diff line change @@ -89,9 +89,9 @@ export default function App() {
8989 onMessageEntered = { onMessageEntered }
9090 onInputFieldTextChanged = { onInputFieldTextChanged }
9191 />
92- < div className = "options-container " >
92+ < div className = "options" >
9393 < div className = "caption" > Suggestion Options</ div >
94- < div className = "options" >
94+ < div className = "suggestions- options" >
9595 < div className = "option" >
9696 < Switch
9797 defaultValue = { false }
Original file line number Diff line number Diff line change 55 gap : 20px ;
66}
77
8- .options-container {
8+ .options {
99 padding : 20px ;
1010 display : flex;
1111 flex-direction : column;
1717 box-sizing : border-box;
1818}
1919
20- .options {
20+ .suggestions- options {
2121 display : flex;
2222 align-items : center;
2323 gap : 24px ;
4646 font-size : var (--dx-font-size-heading-5 );
4747}
4848
49+ .dx-chat-messagelist-empty-prompt {
50+ max-width : 462px ;
51+ line-height : 20px ;
52+ }
53+
4954.dx-chat-messagebubble-content > div > p : first-child {
5055 margin-top : 0 ;
5156}
Original file line number Diff line number Diff line change 2424 </template >
2525 </DxChat >
2626
27- <div class =" options-container " >
27+ <div class =" options" >
2828 <div class =" caption" >Suggestion Options</div >
29- <div class =" options" >
29+ <div class =" suggestions- options" >
3030 <div class =" option" >
3131 <DxSwitch
3232 :value =" sendImmediately"
@@ -185,7 +185,7 @@ function onSuggestionItemClick(e: { itemData?: { text: string; prompt: string }
185185 gap : 20px ;
186186}
187187
188- .options-container {
188+ .options {
189189 padding : 20px ;
190190 display : flex ;
191191 flex-direction : column ;
@@ -197,7 +197,7 @@ function onSuggestionItemClick(e: { itemData?: { text: string; prompt: string }
197197 box-sizing : border-box ;
198198}
199199
200- .options {
200+ .suggestions- options {
201201 display : flex ;
202202 align-items : center ;
203203 gap : 24px ;
@@ -226,6 +226,11 @@ function onSuggestionItemClick(e: { itemData?: { text: string; prompt: string }
226226 font-size : var (--dx-font-size-heading-5 );
227227}
228228
229+ .dx-chat-messagelist-empty-prompt {
230+ max-width : 462px ;
231+ line-height : 20px ;
232+ }
233+
229234.dx-chat-messagebubble-content > div > p :first-child {
230235 margin-top : 0 ;
231236}
Original file line number Diff line number Diff line change 3434 < div class ="demo-container ">
3535 < div id ="dx-ai-chat "> </ div >
3636
37- < div class ="options-container ">
37+ < div class ="options ">
3838 < div class ="caption "> Suggestion Options</ div >
3939
40- < div class ="options ">
40+ < div class ="suggestions- options ">
4141 < div class ="option ">
4242 < div id ="send-immediately "> </ div >
4343 < span > Send Immediately</ span >
Original file line number Diff line number Diff line change 55 gap : 20px ;
66}
77
8- .options-container {
8+ .options {
99 padding : 20px ;
1010 display : flex;
1111 flex-direction : column;
1717 box-sizing : border-box;
1818}
1919
20- .options {
20+ .suggestions- options {
2121 display : flex;
2222 align-items : center;
2323 gap : 24px ;
4646 font-size : var (--dx-font-size-heading-5 );
4747}
4848
49+ .dx-chat-messagelist-empty-prompt {
50+ max-width : 462px ;
51+ line-height : 20px ;
52+ }
53+
4954.dx-chat-messagebubble-content ,
5055.chat-messagebubble-text {
5156 display : flex;
You can’t perform that action at this time.
0 commit comments