Skip to content

Commit 9053d43

Browse files
committed
Avoid chat-container touching the sides
1 parent f0d65b6 commit 9053d43

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

llamafile/server/www/chatbot.css

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ body {
1515
line-height: 1.6;
1616
color: #333;
1717
background: #f5f5f5;
18+
display: flex;
19+
flex-direction: column;
20+
align-items: center;
21+
justify-content: flex-start;
22+
padding: 1rem;
1823
}
1924

2025
p {
@@ -23,8 +28,8 @@ p {
2328
}
2429

2530
.chat-container {
31+
width: 100%;
2632
max-width: 960px;
27-
margin: 2rem auto;
2833
background: white;
2934
border-radius: 12px;
3035
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
@@ -447,14 +452,14 @@ button.complete-button:disabled {
447452

448453
/* Completions Interface */
449454
.completions-container {
455+
width: 100%;
456+
height: 100%;
450457
max-width: 960px;
451-
margin: 2rem auto;
452458
background: white;
453459
border-radius: 12px;
454460
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
455461
display: flex;
456462
flex-direction: column;
457-
height: calc(100vh - 4rem);
458463
}
459464

460465
.completions-content {

0 commit comments

Comments
 (0)