From 26851aaeadf9cf2fdee6bf7f1d4d1b5c70e03652 Mon Sep 17 00:00:00 2001 From: YasinOnm08 Date: Tue, 17 Sep 2024 13:48:04 +0200 Subject: [PATCH] fix windows css --- py/static/styles.css | 4 +++- py/web_flask.py | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/py/static/styles.css b/py/static/styles.css index 950c0d8..eea09ad 100644 --- a/py/static/styles.css +++ b/py/static/styles.css @@ -280,6 +280,7 @@ header a:hover { color: white; border: none; padding: 0; + margin: 5px; cursor: pointer; transition: transform 0.2s ease-in-out; } @@ -326,7 +327,8 @@ header a:hover { } .input button { - padding: 12px 20px; + padding:1em; + margin: 5px; background-color: var(--input-button-color); color: white; border: none; diff --git a/py/web_flask.py b/py/web_flask.py index 17a9400..d979d58 100755 --- a/py/web_flask.py +++ b/py/web_flask.py @@ -40,12 +40,11 @@ def index(): system += "The chat log is now finished." - ai_response = "AI: " + api.send_message(user_message, 5, system) + ai_response = "AI: " + api.send_message(user_message, 4, system) messages.append(ai_response) return render_template('index.html', messages=messages) - @APP.route('/faq') def faq(): return render_template('faq.html')