fix: keep source viewer backdrop aligned with viewport

This commit is contained in:
VAIO73
2026-10-21 08:56:56 +00:00
parent 92cde1bac3
commit 08d2b22c14
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -2175,7 +2175,7 @@ export function Settings() {
{/* Code Viewer Modal */}
{codeModal.open && (
<div className="fixed inset-0 z-50 flex items-center justify-center p-4" onClick={closeCodeModal}>
<div className="fixed inset-0 z-50 flex items-center justify-center p-4" style={{ margin: 0 }} onClick={closeCodeModal}>
<div className="absolute inset-0 bg-black/60 backdrop-blur-sm" />
<div
className="relative bg-card border border-border rounded-xl shadow-2xl w-full max-w-4xl max-h-[85vh] flex flex-col"