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