-
-
+
+
+
diff --git a/static/style.css b/static/style.css
index 86150ef..ae124a3 100644
--- a/static/style.css
+++ b/static/style.css
@@ -10,14 +10,16 @@ h1 {
margin-bottom: 0.5rem;
}
+pre code {
+ display: block;
+ overflow-x: scroll;
+}
+
body {
display: flex;
justify-content: center;
align-items: center;
- height: calc(100vh - 60px);
- margin: 0;
- padding: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f4f4f4;
margin: 0;
@@ -26,20 +28,19 @@ body {
}
.container {
- margin-top: 0;
width: 90%;
max-width: 500px;
- margin: 10px auto 0;
background-color: #fff;
border-radius: 12px;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
- padding: 20px;
+ padding: 1rem;
transition: all 0.3s;
+ height: 100dvh;
}
.chat {
+ flex-grow: 1;
overflow-y: auto;
- height: 400px;
margin-bottom: 20px;
border-bottom: 2px solid #e2e2e2;
}