From ef221a49bccb35e272129b556c8192392dd925e4 Mon Sep 17 00:00:00 2001 From: Joseph Cheung Date: Wed, 1 Mar 2023 15:26:53 +0800 Subject: [PATCH] d --- searx/webapp.py | 9 +++++++-- searx/webapp1.py | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/searx/webapp.py b/searx/webapp.py index 645f550cc..94eec8b76 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -997,10 +997,15 @@ def search(): right: 0px; top: -15px; } - + #chat_talk { + width: 100%; + height: 30vh; + position: relative; + overflow: scroll; + } #iframe-wrapper { width: 100%; - height: 500px; /* 父元素高度 */ + height: 40vh; position: relative; overflow: hidden; /* 防止滚动条溢出 */ } diff --git a/searx/webapp1.py b/searx/webapp1.py index 645f550cc..94eec8b76 100644 --- a/searx/webapp1.py +++ b/searx/webapp1.py @@ -997,10 +997,15 @@ def search(): right: 0px; top: -15px; } - + #chat_talk { + width: 100%; + height: 30vh; + position: relative; + overflow: scroll; + } #iframe-wrapper { width: 100%; - height: 500px; /* 父元素高度 */ + height: 40vh; position: relative; overflow: hidden; /* 防止滚动条溢出 */ }