Update static/style.css
Browse files- static/style.css +6 -6
static/style.css
CHANGED
|
@@ -22,23 +22,23 @@ body {
|
|
| 22 |
word-wrap: break-word;
|
| 23 |
}
|
| 24 |
|
| 25 |
-
/*
|
| 26 |
-
.
|
| 27 |
justify-content: flex-end;
|
| 28 |
}
|
| 29 |
|
| 30 |
-
.
|
| 31 |
background-color: #0d6efd; /* Bootstrap primary color */
|
| 32 |
color: white;
|
| 33 |
border-bottom-right-radius: 0.25rem;
|
| 34 |
}
|
| 35 |
|
| 36 |
-
/*
|
| 37 |
-
.
|
| 38 |
justify-content: flex-start;
|
| 39 |
}
|
| 40 |
|
| 41 |
-
.
|
| 42 |
background-color: #e9ecef; /* Bootstrap light grey */
|
| 43 |
color: black;
|
| 44 |
border-bottom-left-radius: 0.25rem;
|
|
|
|
| 22 |
word-wrap: break-word;
|
| 23 |
}
|
| 24 |
|
| 25 |
+
/* My messages align to the right (blue) */
|
| 26 |
+
.my-message {
|
| 27 |
justify-content: flex-end;
|
| 28 |
}
|
| 29 |
|
| 30 |
+
.my-message .message-bubble {
|
| 31 |
background-color: #0d6efd; /* Bootstrap primary color */
|
| 32 |
color: white;
|
| 33 |
border-bottom-right-radius: 0.25rem;
|
| 34 |
}
|
| 35 |
|
| 36 |
+
/* Other users' messages align to the left (grey) */
|
| 37 |
+
.other-message {
|
| 38 |
justify-content: flex-start;
|
| 39 |
}
|
| 40 |
|
| 41 |
+
.other-message .message-bubble {
|
| 42 |
background-color: #e9ecef; /* Bootstrap light grey */
|
| 43 |
color: black;
|
| 44 |
border-bottom-left-radius: 0.25rem;
|