fix advanced rendering toggle on web with NewModal Closes #2284 (#4733)

This commit is contained in:
Prospector
2025-11-07 08:47:54 -08:00
committed by GitHub
parent 67fb825937
commit 11a1918a2e
2 changed files with 14 additions and 1 deletions

View File

@@ -26,7 +26,14 @@
</div>
</div>
</div>
<div ref="main_page" class="layout" :class="{ 'expanded-mobile-nav': isBrowseMenuOpen }">
<div
ref="main_page"
class="layout"
:class="{
'expanded-mobile-nav': isBrowseMenuOpen,
'modrinth-parent__no-modal-blurs': !cosmetics.advancedRendering,
}"
>
<PagewideBanner v-if="isRussia && !flags.hideRussiaCensorshipBanner" variant="error">
<template #title>
<div class="flex flex-col gap-1 text-contrast">

View File

@@ -266,6 +266,12 @@ function handleKeyDown(event: KeyboardEvent) {
}
}
.modrinth-parent__no-modal-blurs {
.modal-overlay {
backdrop-filter: none;
}
}
.modal-container {
position: fixed;
top: 0;