From a9e36c02ab3cf555224f761447be03ef7e3efa77 Mon Sep 17 00:00:00 2001 From: Christian Bastian <80225746+cdb-boop@users.noreply.github.com> Date: Sat, 6 Apr 2024 15:39:33 -0400 Subject: [PATCH] Increase font size of download instructions. - Partly fixed invisible scroll on small screens in CSS. --- web/model-manager.css | 1 + web/model-manager.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/web/model-manager.css b/web/model-manager.css index 25c1e14..83ac6a6 100644 --- a/web/model-manager.css +++ b/web/model-manager.css @@ -8,6 +8,7 @@ padding: 8px; color: var(--bg-color); z-index: 2000; + overflow: hidden; } .model-manager .comfy-modal-content { diff --git a/web/model-manager.js b/web/model-manager.js index 8295ebf..65b7d14 100644 --- a/web/model-manager.js +++ b/web/model-manager.js @@ -2645,7 +2645,7 @@ class DownloadTab { $el("div.download-model-infos", { $: (el) => (this.elements.infos = el), }, [ - $el("div", ["Input a URL to select a model to download."]), + $el("h1", ["Input a URL to select a model to download."]), ]), ]); } @@ -2842,7 +2842,7 @@ class DownloadTab { ); }); if (modelInfosHtml.length === 0) { - modelInfosHtml.push($el("div", ["No results found."])); + modelInfosHtml.push($el("h1", ["No models found."])); } else { if (modelInfosHtml.length === 1) {