diff --git a/app/static/css/style.css b/app/static/css/style.css index 6b001ce..db5b849 100644 --- a/app/static/css/style.css +++ b/app/static/css/style.css @@ -8,7 +8,8 @@ /* Page Layout */ html, body { - height: 100vh; + height: 100vh; /* Fallback for older browsers */ + height: 100dvh; /* Dynamic viewport height (mobile-friendly) */ margin: 0; overflow: hidden; } @@ -23,6 +24,7 @@ main { overflow: hidden; display: flex; flex-direction: column; + min-height: 0; /* Important for flex children */ } /* Messages Container */ diff --git a/app/templates/base.html b/app/templates/base.html index 9b1de4a..ddbf116 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -2,7 +2,7 @@ - + {% block title %}mc-webui{% endblock %} diff --git a/app/templates/index.html b/app/templates/index.html index 5ad9fa6..6ef7a52 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -3,10 +3,10 @@ {% block title %}Chat - mc-webui{% endblock %} {% block content %} -
+
-
-
+
+