mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
fix(?) WIEditor scrollbars & add it to Panel Reset
This commit is contained in:
@ -544,7 +544,7 @@ function loadPowerUserSettings(settings, data) {
|
|||||||
|
|
||||||
function loadMaxContextUnlocked() {
|
function loadMaxContextUnlocked() {
|
||||||
$('#max_context_unlocked').prop('checked', power_user.max_context_unlocked);
|
$('#max_context_unlocked').prop('checked', power_user.max_context_unlocked);
|
||||||
$('#max_context_unlocked').on('change', function() {
|
$('#max_context_unlocked').on('change', function () {
|
||||||
power_user.max_context_unlocked = !!$(this).prop('checked');
|
power_user.max_context_unlocked = !!$(this).prop('checked');
|
||||||
switchMaxContextSize();
|
switchMaxContextSize();
|
||||||
saveSettingsDebounced();
|
saveSettingsDebounced();
|
||||||
@ -796,6 +796,13 @@ function resetMovablePanels() {
|
|||||||
document.getElementById("avatar_zoom_popup").style.bottom = '';
|
document.getElementById("avatar_zoom_popup").style.bottom = '';
|
||||||
document.getElementById("avatar_zoom_popup").style.height = '';
|
document.getElementById("avatar_zoom_popup").style.height = '';
|
||||||
document.getElementById("avatar_zoom_popup").style.width = '';
|
document.getElementById("avatar_zoom_popup").style.width = '';
|
||||||
|
|
||||||
|
document.getElementById("world_popup").style.top = '';
|
||||||
|
document.getElementById("world_popup").style.left = '';
|
||||||
|
document.getElementById("world_popup").style.right = '';
|
||||||
|
document.getElementById("world_popup").style.bottom = '';
|
||||||
|
document.getElementById("world_popup").style.height = '';
|
||||||
|
document.getElementById("world_popup").style.width = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).ready(() => {
|
$(document).ready(() => {
|
||||||
|
@ -1687,7 +1687,7 @@ input[type=search]:focus::-webkit-search-cancel-button {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
z-index: 3010;
|
z-index: 3010;
|
||||||
border-radius: 0 0 20px 20px;
|
border-radius: 0 0 20px 20px;
|
||||||
overflow-y: auto;
|
overflow-y: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#world_popup_bottom_holder {
|
#world_popup_bottom_holder {
|
||||||
@ -1714,6 +1714,10 @@ input[type=search]:focus::-webkit-search-cancel-button {
|
|||||||
margin-left: 1rem;
|
margin-left: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.world_entry {
|
||||||
|
padding: 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
.world_entry:not(:last-child)::after {
|
.world_entry:not(:last-child)::after {
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
@ -1778,7 +1782,7 @@ input[type=search]:focus::-webkit-search-cancel-button {
|
|||||||
|
|
||||||
#world_popup_entries_list {
|
#world_popup_entries_list {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
overflow-y: scroll;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
#world_popup_entries_list:empty {
|
#world_popup_entries_list:empty {
|
||||||
|
Reference in New Issue
Block a user