fix for sheld position breaking on reset after OOB

- placeholder styles for groupmember <a>
This commit is contained in:
RossAscends
2023-05-02 02:15:42 +09:00
parent 6f47b07063
commit 44a2a0faf5
2 changed files with 10 additions and 2 deletions

View File

@ -478,9 +478,12 @@ async function saveTheme() {
function resetMovablePanels() { function resetMovablePanels() {
document.getElementById("sheld").style.top = ''; document.getElementById("sheld").style.top = '';
document.getElementById("sheld").style.left = ''; document.getElementById("sheld").style.left = '';
document.getElementById("sheld").style.bottom = '';
document.getElementById("sheld").style.right = '';
document.getElementById("sheld").style.height = ''; document.getElementById("sheld").style.height = '';
document.getElementById("sheld").style.width = ''; document.getElementById("sheld").style.width = '';
document.getElementById("left-nav-panel").style.top = ''; document.getElementById("left-nav-panel").style.top = '';
document.getElementById("left-nav-panel").style.left = ''; document.getElementById("left-nav-panel").style.left = '';
document.getElementById("left-nav-panel").style.height = ''; document.getElementById("left-nav-panel").style.height = '';
@ -704,8 +707,8 @@ $(document).ready(() => {
}); });
$('#auto_fix_generated_markdown').on('input', function () { $('#auto_fix_generated_markdown').on('input', function () {
power_user.auto_fix_generated_markdown = !!$(this).prop('checked'); power_user.auto_fix_generated_markdown = !!$(this).prop('checked');
saveSettingsDebounced(); saveSettingsDebounced();
}); });
$('#auto_scroll_chat_to_bottom').on("input", function () { $('#auto_scroll_chat_to_bottom').on("input", function () {

View File

@ -3681,6 +3681,11 @@ body.noShadows * {
display: none; display: none;
} }
#rm_group_add_members a,
#rm_group_members a {
color: var(--SmartThemeBodyColor);
}
#avatar_zoom_popup { #avatar_zoom_popup {
/* height: 600px; /* height: 600px;
width: 400px; */ width: 400px; */