File tree Expand file tree Collapse file tree 1 file changed +12
-60
lines changed Expand file tree Collapse file tree 1 file changed +12
-60
lines changed Original file line number Diff line number Diff line change 1- body {
2- font-family : Arial, sans-serif;
3- background-color : # f0f0f0 ;
4- }
5-
6- .chat-container {
7- width : 100% ;
8- max-width : 600px ;
9- margin : 40px auto;
10- background-color : # fff ;
1+ /* style.css */
2+ # chat-box {
3+ margin-top : 20px ;
4+ padding : 10px ;
5+ border : 1px solid # ccc ;
116 border-radius : 5px ;
12- box-shadow : 0 3px 10px rgba (0 , 0 , 0 , 0.1 );
13- display : flex;
14- flex-direction : column;
15- }
16-
17- .chat-output {
18- flex-grow : 1 ;
19- padding : 20px ;
20- overflow-y : auto;
21- max-height : 400px ;
22- }
23-
24- .chat-output p {
25- margin : 10px 0 ;
26- }
27-
28- .user-message {
29- text-align : right;
30- font-weight : bold;
31- }
32-
33- .bot-message {
34- text-align : left;
35- font-weight : normal;
36- }
37-
38- .chat-input-form {
39- display : flex;
40- align-items : center;
41- padding : 10px ;
42- background-color : # f0f0f0 ;
43- border-top : 1px solid # e0e0e0 ;
44- }
45-
46- .chat-input {
47- flex-grow : 1 ;
48- border : none;
49- border-radius : 3px ;
50- padding : 10px ;
51- margin-right : 10px ;
7+ max-height : 400px ;
8+ overflow-y : auto;
529}
5310
54- .chat-submit {
55- padding : 10px 20px ;
56- background-color : # 007bff ;
57- color : # fff ;
58- font-weight : bold;
59- border : none;
60- cursor : pointer;
61- border-radius : 3px ;
11+ # chat-box .message {
12+ margin-bottom : 10px ;
6213}
6314
64- .chat-submit : hover {
65- background-color : # 0056b3 ;
15+ # chat-box .message img {
16+ max-width : 100% ;
17+ height : auto;
6618}
You can’t perform that action at this time.
0 commit comments