From fa37484eb36dc33dc68e539ff58a396565eeae12 Mon Sep 17 00:00:00 2001 From: ebolam Date: Mon, 15 Aug 2022 19:19:24 -0400 Subject: [PATCH] Fix for settings clipping --- static/koboldai.css | 2 +- templates/settings item.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/static/koboldai.css b/static/koboldai.css index c13b2618..b7a84b25 100644 --- a/static/koboldai.css +++ b/static/koboldai.css @@ -168,7 +168,7 @@ grid-template-areas: "label value" "item item" "minlabel maxlabel"; - grid-template-rows: 20px 25px 15px; + grid-template-rows: 20px 25px 20px; grid-template-columns: 160px 40px; row-gap: 0.2em; background-color: var(--setting_background); diff --git a/templates/settings item.html b/templates/settings item.html index a26e7668..e34e0945 100644 --- a/templates/settings item.html +++ b/templates/settings item.html @@ -36,8 +36,8 @@ {% endif %} - {% if item["uitype"] == "slider" %}{{ item['min'] }}{% endif %} - {% if item["uitype"] == "slider" %}{{ item['max'] }}{% endif %} + {% if item["uitype"] == "slider" %}{{ item['min'] }}{% endif %} + {% if item["uitype"] == "slider" %}{{ item['max'] }}{% endif %} {% endif %} {% endfor %} \ No newline at end of file