fix: add 16px left margin to popover to avoid screen edge

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
thibaud-leclere
2026-03-30 22:54:59 +02:00
parent 0706d99c82
commit 1fd6dcc5d3

View File

@@ -18,7 +18,7 @@ export default function ActorPopover({ hintType, hintText }) {
size({ size({
apply({ availableWidth, elements }) { apply({ availableWidth, elements }) {
Object.assign(elements.floating.style, { Object.assign(elements.floating.style, {
maxWidth: `${availableWidth}px`, maxWidth: `${availableWidth - 16}px`,
}); });
}, },
}), }),