From 6c3fe1a17fdd1827bb3da5e63b62bbb035ba9136 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Sun, 19 May 2024 22:24:38 +0800 Subject: [PATCH] big clamp --- klite.embd | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/klite.embd b/klite.embd index 567527d77..a6fe2cebf 100644 --- a/klite.embd +++ b/klite.embd @@ -7,7 +7,7 @@ Just copy this single static HTML file anywhere and open it in a browser, or fro Please go to https://github.com/LostRuins/lite.koboldai.net for updates on Kobold Lite. If you are submitting a pull request for Lite, PLEASE use the above repo, not the KoboldCpp one. Kobold Lite is under the AGPL v3.0 License unless otherwise exempted. Please do not remove this line. -Current version: 139 +Current version: 140 -Concedo --> @@ -92,6 +92,11 @@ Current version: 139 width: 1170px; }} + @media (min-width: 1800px) { + .bigclampedcontainer { + width: 1770px; + }} + .settinglabel input { width: 6ch; @@ -13251,16 +13256,25 @@ Current version: 139 { maincon.classList.remove("adaptivecontainer"); maincon.classList.add("clampedcontainer"); + maincon.classList.remove("bigclampedcontainer"); } - else if(localsettings.viewport_width_mode==2) //unlock + else if(localsettings.viewport_width_mode==2) //bigclamp { maincon.classList.remove("adaptivecontainer"); maincon.classList.remove("clampedcontainer"); + maincon.classList.add("bigclampedcontainer"); + } + else if(localsettings.viewport_width_mode==3) //unlock + { + maincon.classList.remove("adaptivecontainer"); + maincon.classList.remove("clampedcontainer"); + maincon.classList.remove("bigclampedcontainer"); } else //adaptive { maincon.classList.add("adaptivecontainer"); maincon.classList.remove("clampedcontainer"); + maincon.classList.remove("bigclampedcontainer"); } update_genimg_button_visiblility(); @@ -15729,7 +15743,8 @@ Current version: 139