diff --git a/aiserver.py b/aiserver.py index f552c7dd..35cc3c24 100644 --- a/aiserver.py +++ b/aiserver.py @@ -7651,7 +7651,7 @@ def UI_2_theme_change(data): with open("themes/{}.css".format(data['name']), "w") as f: f.write(":root {\n") for key, value in data['theme'].items(): - f.write("\t{}: {};\n".format(key, value.replace(";", ""))) + f.write("\t{}: {};\n".format(key, value.replace(";", "").replace("--", "-"))) f.write("}") print("Theme Saved") diff --git a/static/koboldai.css b/static/koboldai.css index abf1af3f..553f35cb 100644 --- a/static/koboldai.css +++ b/static/koboldai.css @@ -373,7 +373,7 @@ input[type="range"]::-ms-fill-upper { position: absolute; top:10px; color: var(--text); - left: calc(var(--flyout_menu_width) - 130px); + left: calc(var(--flyout_menu_width) - 132px); z-index:50; width: 25px; height: 25px;