From 9aaec13e1ffddcd75ad7df1d004fa7ae927b3cc0 Mon Sep 17 00:00:00 2001 From: ebolam Date: Sun, 30 Oct 2022 12:50:23 -0400 Subject: [PATCH] Fix for Model Welcome Text --- koboldai_settings.py | 8 +++++--- static/koboldai.css | 4 ++++ templates/index_new.html | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/koboldai_settings.py b/koboldai_settings.py index c3361eda..28fd4605 100644 --- a/koboldai_settings.py +++ b/koboldai_settings.py @@ -595,9 +595,11 @@ class model_settings(settings): self.configname = None self.online_model = '' self.welcome_default = """ -
Please load a model from the left.
- If you encounter any issues, please click the Download debug dump link in the Home tab on the left flyout and attach the downloaded file to your error report on Github, Reddit, or Discord. - A redacted version (without story text) is available. +
+
Please load a model from the left.
+ If you encounter any issues, please click the Download debug dump link in the Home tab on the left flyout and attach the downloaded file to your error report on Github, Reddit, or Discord. + A redacted version (without story text) is available. +
""" # Custom Welcome Text self.welcome = self.welcome_default self.koboldai_vars = koboldai_vars diff --git a/static/koboldai.css b/static/koboldai.css index 2ba3f262..d4a41b0c 100644 --- a/static/koboldai.css +++ b/static/koboldai.css @@ -2387,6 +2387,10 @@ body { } #welcome_text { + height: 100%; +} + +.welcome_text { display: flex; height: 100%; } diff --git a/templates/index_new.html b/templates/index_new.html index 7e0f7986..61c82d1d 100644 --- a/templates/index_new.html +++ b/templates/index_new.html @@ -45,7 +45,7 @@

Disconnected

-
+