summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-07-13 20:42:05 +0800
committerGitHub <noreply@github.com>2024-07-13 20:42:05 +0800
commit19b130780277d316d571a4809d6fe0742d0f7359 (patch)
treeef62e57ebd4c82cdb8fcb79dd6caf5d29c4ac5e1 /assets
parent571016096c1d403a0237d3fce322affe303c6ba1 (diff)
downloadaichat-19b130780277d316d571a4809d6fe0742d0f7359.tar.gz
fix: webui input-panel exceeds viewpoint on mobile (#714)
Diffstat (limited to 'assets')
-rw-r--r--assets/arena.html5
-rw-r--r--assets/playground.html5
2 files changed, 10 insertions, 0 deletions
diff --git a/assets/arena.html b/assets/arena.html
index 1454448..39bd59c 100644
--- a/assets/arena.html
+++ b/assets/arena.html
@@ -356,6 +356,11 @@
}
@media screen and (max-width: 768px) {
+ body {
+ height: calc(100vh - 56px);
+ height: 100dvh;
+ }
+
.container {
padding: 3px;
}
diff --git a/assets/playground.html b/assets/playground.html
index ec13133..ef6adcb 100644
--- a/assets/playground.html
+++ b/assets/playground.html
@@ -434,6 +434,11 @@
}
@media screen and (max-width: 768px) {
+ body {
+ height: calc(100vh - 56px);
+ height: 100dvh;
+ }
+
.container {
padding: 3px;
}