Fix layering

This commit is contained in:
Cohee 2024-03-20 20:33:14 +02:00
parent 30c52b5b27
commit 839dc31822
2 changed files with 6 additions and 6 deletions

View File

@ -8433,8 +8433,7 @@ jQuery(async function () {
$('#advanced_div').click(function () {
if (!is_advanced_char_open) {
is_advanced_char_open = true;
$('#character_popup').css('display', 'flex');
$('#character_popup').css('opacity', 0.0);
$('#character_popup').css({'display': 'flex', 'opacity': 0.0}).addClass('open');
$('#character_popup').transition({
opacity: 1.0,
duration: animation_duration,
@ -8442,7 +8441,7 @@ jQuery(async function () {
});
} else {
is_advanced_char_open = false;
$('#character_popup').css('display', 'none');
$('#character_popup').css('display', 'none').removeClass('open');
}
});

View File

@ -2736,7 +2736,7 @@ input[type="range"]::-webkit-slider-thumb {
max-height: calc(100vh - 84px);
max-height: calc(100svh - 84px);
position: absolute;
z-index: 3000;
z-index: 4001;
margin-left: auto;
margin-right: auto;
left: 0;
@ -2814,7 +2814,7 @@ h5 {
width: 100%;
height: 100vh;
height: 100svh;
z-index: 3001;
z-index: 4100;
top: 0;
background-color: var(--black70a);
backdrop-filter: blur(var(--SmartThemeBlurStrength));
@ -3374,7 +3374,8 @@ a {
}
body:has(.drawer-content.maximized) #top-settings-holder:has(.drawer-content.openDrawer:not(.fillLeft):not(.fillRight)),
body:has(.drawer-content.open) #top-settings-holder:has(.drawer-content.openDrawer:not(.fillLeft):not(.fillRight)) {
body:has(.drawer-content.open) #top-settings-holder:has(.drawer-content.openDrawer:not(.fillLeft):not(.fillRight)),
body:has(#character_popup.open) #top-settings-holder:has(.drawer-content.openDrawer:not(.fillLeft):not(.fillRight)) {
z-index: 4005;
}