big clamp

This commit is contained in:
Concedo 2024-05-19 22:24:38 +08:00
parent 4b664b3409
commit 6c3fe1a17f

View file

@ -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
<select style="padding:1px; height:auto; width: 34px; appearance: none; font-size: 7pt; margin:0px 0px 0px auto;" class="form-control" id="viewport_width_mode">
<option value="0">Adapt</option>
<option value="1">Clamp</option>
<option value="2">Unlock</option>
<option value="2">HDClamp</option>
<option value="3">Unlock</option>
</select>
</div>
<div class="settinglabel">