Spaces:
Sleeping
Sleeping
Update src/App.css
Browse files- src/App.css +4 -3
src/App.css
CHANGED
|
@@ -37,18 +37,19 @@ body, html, #root {
|
|
| 37 |
}
|
| 38 |
|
| 39 |
/* ---- MAIN CHAT AREA ---- */
|
|
|
|
| 40 |
.main {
|
| 41 |
flex: 1;
|
| 42 |
display: flex;
|
| 43 |
flex-direction: column;
|
| 44 |
|
| 45 |
-
/*
|
| 46 |
-
|
| 47 |
-
align-items: center; /* horizontal centering */
|
| 48 |
|
| 49 |
padding: 2rem 1rem;
|
| 50 |
}
|
| 51 |
|
|
|
|
| 52 |
/* Messages window */
|
| 53 |
.messages {
|
| 54 |
width: 100%;
|
|
|
|
| 37 |
}
|
| 38 |
|
| 39 |
/* ---- MAIN CHAT AREA ---- */
|
| 40 |
+
|
| 41 |
.main {
|
| 42 |
flex: 1;
|
| 43 |
display: flex;
|
| 44 |
flex-direction: column;
|
| 45 |
|
| 46 |
+
justify-content: flex-start; /* ⬅ messages start at top */
|
| 47 |
+
align-items: center; /* still horizontally centered */
|
|
|
|
| 48 |
|
| 49 |
padding: 2rem 1rem;
|
| 50 |
}
|
| 51 |
|
| 52 |
+
|
| 53 |
/* Messages window */
|
| 54 |
.messages {
|
| 55 |
width: 100%;
|