fix(?) WIEditor scrollbars & add it to Panel Reset

This commit is contained in:
RossAscends
2023-05-15 07:18:59 +09:00
parent a51de56788
commit 817842737e
2 changed files with 14 additions and 3 deletions

View File

@ -544,7 +544,7 @@ function loadPowerUserSettings(settings, data) {
function loadMaxContextUnlocked() {
$('#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');
switchMaxContextSize();
saveSettingsDebounced();
@ -796,6 +796,13 @@ function resetMovablePanels() {
document.getElementById("avatar_zoom_popup").style.bottom = '';
document.getElementById("avatar_zoom_popup").style.height = '';
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(() => {

View File

@ -1687,7 +1687,7 @@ input[type=search]:focus::-webkit-search-cancel-button {
flex-direction: column;
z-index: 3010;
border-radius: 0 0 20px 20px;
overflow-y: auto;
overflow-y: hidden;
}
#world_popup_bottom_holder {
@ -1714,6 +1714,10 @@ input[type=search]:focus::-webkit-search-cancel-button {
margin-left: 1rem;
}
.world_entry {
padding: 0 5px;
}
.world_entry:not(:last-child)::after {
margin-top: 1rem;
height: 1px;
@ -1778,7 +1782,7 @@ input[type=search]:focus::-webkit-search-cancel-button {
#world_popup_entries_list {
flex-grow: 1;
overflow-y: scroll;
overflow-y: auto;
}
#world_popup_entries_list:empty {