diff --git a/static/index.html b/static/index.html
index 41fdfa3..7a2a85f 100644
--- a/static/index.html
+++ b/static/index.html
@@ -3,7 +3,7 @@
-
+
Chattz
diff --git a/static/styles.css b/static/styles.css
index c1b9d6f..508c91a 100644
--- a/static/styles.css
+++ b/static/styles.css
@@ -29,6 +29,7 @@
body {
margin: 0;
height: 100vh;
+ height: 100dvh;
background: var(--bg-darker);
color: var(--text-normal);
font-family: var(--font-main);
@@ -135,6 +136,7 @@ select {
/* Main Layout */
.shell {
height: 100vh;
+ height: 100dvh;
display: grid;
grid-template-columns: 72px 240px 1fr 240px;
background: var(--bg-main);
@@ -528,6 +530,8 @@ select {
flex-direction: column;
background: var(--bg-main);
min-width: 0;
+ min-height: 0;
+ /* Important for flex child overflow */
}
.chat-header {
@@ -634,6 +638,7 @@ select {
/* Chat Input */
.chat-input-wrapper {
padding: 0 16px 24px;
+ padding-bottom: clamp(24px, calc(24px + env(safe-area-inset-bottom)), 40px);
}
.message-form {