Skip to content

Fix datacenter overview tooltip alignment near right edge#1658

Open
lacatoire wants to merge 1 commit intoopendcim:masterfrom
lacatoire:fix/1220-datacenter-popup-alignment
Open

Fix datacenter overview tooltip alignment near right edge#1658
lacatoire wants to merge 1 commit intoopendcim:masterfrom
lacatoire:fix/1220-datacenter-popup-alignment

Conversation

@lacatoire
Copy link

@lacatoire lacatoire commented Feb 10, 2026

Summary

  • Fixed tooltip overflow when hovering over cabinets near the right edge of the datacenter map
  • The tooltip now checks if it would exceed the window width and flips to the left side of the cabinet
  • Added arrow_right CSS class (mirrored version of existing arrow_left) for proper arrow indicator

Fixes #1220

When a cabinet is positioned near the right edge of the datacenter map,
the tooltip would overflow off-screen. Now the tooltip checks if it
would exceed the window width and flips to the left side of the cabinet
with an arrow_right CSS class when needed.

Fixes opendcim#1220
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DataCenter overview Pop-up Align

1 participant