Fix filament hover card overlapping navigation bar (#259)

The FilamentHoverCard positioning logic now accounts for the fixed 56px
header when calculating available space above the trigger element.

Previously, when hovering over AMS slots near the top of the page, the
hover card would appear above the slot but go behind the navigation bar.
Now it correctly detects there isn't enough usable space and flips to
show below the slot instead.

Closes #259
This commit is contained in:
maziggy
2026-02-04 14:26:16 +01:00
parent 85598346f7
commit cf6f374fee
4 changed files with 22 additions and 9 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -23,7 +23,7 @@
<!-- Splash screens for iOS -->
<link rel="apple-touch-startup-image" href="/img/android-chrome-512x512.png" />
<script type="module" crossorigin src="/assets/index-DzQ3-JjU.js"></script>
<script type="module" crossorigin src="/assets/index-3wkUCoeq.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-fdAEMOwp.css">
</head>
<body>