Update settings button position to avoid overlap with right-side controls
This commit is contained in:
@@ -3492,13 +3492,13 @@ function App({ container_id, imageStacks, autoCacheStack, annotationJson, viewer
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
{/* Settings button at top right */}
|
{/* Settings button at top-left (shift when side menu open) to avoid overlapping right-side controls */}
|
||||||
<button
|
<button
|
||||||
style={{
|
style={{
|
||||||
position: "absolute",
|
position: "absolute",
|
||||||
top: 8,
|
top: 8,
|
||||||
right: 8,
|
left: sideMenuOpen ? 250 + 16 : 16,
|
||||||
zIndex: 20,
|
zIndex: 2600,
|
||||||
padding: "6px 12px",
|
padding: "6px 12px",
|
||||||
background: "#222",
|
background: "#222",
|
||||||
color: "#fff",
|
color: "#fff",
|
||||||
|
|||||||
Reference in New Issue
Block a user