fix(share): anchor SharePopover via documented MudPopover RelativeWidth

Use Fixed + RelativeWidth=Adaptive with BottomLeft/TopLeft origins to
anchor the menu under the share button; drop the inline-block shrink-wrap
container hack. Keep AutoClose off so the embed panel survives clicks.
This commit is contained in:
daniel-c-harvey
2026-06-17 06:30:31 -04:00
parent d6df0de63a
commit 394b07f404
2 changed files with 14 additions and 19 deletions
@@ -358,15 +358,6 @@ h2, h3, h4, h5, h6,
font-family: var(--deepdrft-font-mono) !important;
}
/* display:inline-block is load-bearing: it shrink-wraps the wrapper to the
button so MudPopover's portal reads the button's tight bounding rect
(parentNode.getBoundingClientRect()) instead of a page-wide flow box.
position:relative is incidental — do not drop inline-block. */
.deepdrft-share-popover-anchor {
position: relative;
display: inline-block;
}
.deepdrft-share-popover-body {
padding: 0.75rem 1rem;
min-width: 280px;