diff --git a/public/scripts/power-user.js b/public/scripts/power-user.js index cae8a7ec2..e636893b9 100644 --- a/public/scripts/power-user.js +++ b/public/scripts/power-user.js @@ -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(() => { diff --git a/public/style.css b/public/style.css index e74e8403f..9c9ac5f86 100644 --- a/public/style.css +++ b/public/style.css @@ -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 {