style(profile): add overlay to WrappedFullscreenModal for improved UI interaction

This commit is contained in:
Moyasee
2025-12-12 17:49:12 +02:00
parent 5b4b258526
commit c025dc199d
2 changed files with 8 additions and 0 deletions

View File

@@ -86,6 +86,13 @@
animation: wrapped-spin 0.8s linear infinite;
}
&__overlay {
position: absolute;
inset: 0;
z-index: 2;
cursor: default;
}
&__iframe {
width: 100%;
height: 100%;

View File

@@ -81,6 +81,7 @@ export function WrappedFullscreenModal({
<div className="wrapped-fullscreen-modal__spinner" />
</div>
)}
<div className="wrapped-fullscreen-modal__overlay" />
<iframe
src={`https://hydrawrapped.com/embed/${userId}?scale=${config.scale}`}
className="wrapped-fullscreen-modal__iframe"