diff options
| author | sigoden <sigoden@gmail.com> | 2024-07-13 20:42:05 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-13 20:42:05 +0800 |
| commit | 19b130780277d316d571a4809d6fe0742d0f7359 (patch) | |
| tree | ef62e57ebd4c82cdb8fcb79dd6caf5d29c4ac5e1 /assets | |
| parent | 571016096c1d403a0237d3fce322affe303c6ba1 (diff) | |
| download | aichat-19b130780277d316d571a4809d6fe0742d0f7359.tar.gz | |
fix: webui input-panel exceeds viewpoint on mobile (#714)
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/arena.html | 5 | ||||
| -rw-r--r-- | assets/playground.html | 5 |
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; } |
