From 44a2a0faf557523ef60b1935493d52d4689f8680 Mon Sep 17 00:00:00 2001 From: RossAscends <124905043+RossAscends@users.noreply.github.com> Date: Tue, 2 May 2023 02:15:42 +0900 Subject: [PATCH] fix for sheld position breaking on reset after OOB - placeholder styles for groupmember --- public/scripts/power-user.js | 7 +++++-- public/style.css | 5 +++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/public/scripts/power-user.js b/public/scripts/power-user.js index 5402a058b..e85bd1334 100644 --- a/public/scripts/power-user.js +++ b/public/scripts/power-user.js @@ -478,9 +478,12 @@ async function saveTheme() { function resetMovablePanels() { document.getElementById("sheld").style.top = ''; document.getElementById("sheld").style.left = ''; + document.getElementById("sheld").style.bottom = ''; + document.getElementById("sheld").style.right = ''; document.getElementById("sheld").style.height = ''; document.getElementById("sheld").style.width = ''; + document.getElementById("left-nav-panel").style.top = ''; document.getElementById("left-nav-panel").style.left = ''; document.getElementById("left-nav-panel").style.height = ''; @@ -704,8 +707,8 @@ $(document).ready(() => { }); $('#auto_fix_generated_markdown').on('input', function () { - power_user.auto_fix_generated_markdown = !!$(this).prop('checked'); - saveSettingsDebounced(); + power_user.auto_fix_generated_markdown = !!$(this).prop('checked'); + saveSettingsDebounced(); }); $('#auto_scroll_chat_to_bottom').on("input", function () { diff --git a/public/style.css b/public/style.css index b31415e83..86e3d234a 100644 --- a/public/style.css +++ b/public/style.css @@ -3681,6 +3681,11 @@ body.noShadows * { display: none; } +#rm_group_add_members a, +#rm_group_members a { + color: var(--SmartThemeBodyColor); +} + #avatar_zoom_popup { /* height: 600px; width: 400px; */