Skip to content

Commit 17d0430

Browse files
Copilotlstein
andcommitted
Move spinner inside umapContent to fix positioning
Co-authored-by: lstein <111189+lstein@users.noreply.github.com>
1 parent 7e938ae commit 17d0430

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

photomap/frontend/templates/modules/umap-floating-window.html

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -108,24 +108,25 @@
108108
</button>
109109
</div>
110110
</div>
111-
<!-- Spinner (always visible during loading) -->
112-
<div
113-
id="umapSpinner"
114-
style="
115-
display: none;
116-
position: absolute;
117-
left: 50%;
118-
top: 50%;
119-
transform: translate(-50%, -50%);
120-
z-index: 10000;
121-
pointer-events: none;
122-
"
123-
>
124-
<div class="umap-spinner"></div>
125-
</div>
126111

127112
<!-- All other content hidden until plot is ready -->
128113
<div id="umapContent" style="display: none">
114+
<!-- Spinner (always visible during loading) -->
115+
<div
116+
id="umapSpinner"
117+
style="
118+
display: none;
119+
position: absolute;
120+
left: 50%;
121+
top: 50%;
122+
transform: translate(-50%, -50%);
123+
z-index: 10000;
124+
pointer-events: none;
125+
"
126+
>
127+
<div class="umap-spinner"></div>
128+
</div>
129+
129130
<!-- Plotly Plot -->
130131
<div id="umapPlot"></div>
131132

0 commit comments

Comments
 (0)