Skip to content

Commit c08ecae

Browse files
authored
Update index.html
1 parent 0dc4ccd commit c08ecae

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

index.html

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
font-family: Arial, sans-serif;
1010
margin: 0;
1111
padding: 0;
12-
background-color: #f4f4f4;
12+
background-color: #f2f2f2;
1313
display: flex;
1414
flex-direction: column;
1515
height: 100vh;
@@ -19,8 +19,9 @@
1919
text-align: center;
2020
background-color: #ffc827;
2121
color: black;
22-
padding: 12px 0;
22+
padding: 12px;
2323
margin: 0;
24+
font-size: 22px;
2425
}
2526

2627
#chat {
@@ -29,36 +30,35 @@
2930
padding: 16px;
3031
display: flex;
3132
flex-direction: column;
33+
gap: 12px;
3234
}
3335

3436
.message {
35-
margin-bottom: 12px;
36-
display: flex;
37-
flex-direction: column;
38-
max-width: 75%;
37+
padding: 10px 14px;
38+
border-radius: 18px;
39+
max-width: 70%;
40+
word-wrap: break-word;
41+
font-size: 16px;
42+
line-height: 1.4;
3943
}
4044

4145
.user-message {
46+
background-color: #d0f0fd;
4247
align-self: flex-end;
43-
text-align: right;
44-
background-color: #e0f7fa;
45-
border-radius: 12px 12px 0 12px;
46-
padding: 10px 14px;
48+
border-bottom-right-radius: 4px;
4749
}
4850

4951
.agent-message {
52+
background-color: #ffffff;
5053
align-self: flex-start;
51-
text-align: left;
52-
background-color: #f1f1f1;
53-
border-radius: 12px 12px 12px 0;
54-
padding: 10px 14px;
54+
border-bottom-left-radius: 4px;
5555
}
5656

5757
#input-form {
5858
display: flex;
59-
border-top: 1px solid #ccc;
6059
padding: 10px;
6160
background: white;
61+
border-top: 1px solid #ccc;
6262
}
6363

6464
#user-input {

0 commit comments

Comments
 (0)