docs(SharePopover): correct inline-block/relative comments — inline-block is load-bearing, relative is incidental

This commit is contained in:
daniel-c-harvey
2026-06-16 21:13:06 -04:00
parent 81ea5909d2
commit 4eba3b0bb3
2 changed files with 10 additions and 6 deletions
@@ -358,8 +358,10 @@ h2, h3, h4, h5, h6,
font-family: var(--deepdrft-font-mono) !important;
}
/* Relative-positioned wrapper that gives MudPopover a local anchor so it opens
adjacent to the share button rather than relative to the page body. */
/* 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;