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:
parent
0706d99c82
commit
1fd6dcc5d3
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ export default function ActorPopover({ hintType, hintText }) {
|
|||
size({
|
||||
apply({ availableWidth, elements }) {
|
||||
Object.assign(elements.floating.style, {
|
||||
maxWidth: `${availableWidth}px`,
|
||||
maxWidth: `${availableWidth - 16}px`,
|
||||
});
|
||||
},
|
||||
}),
|
||||
|
|
|
|||
Loading…
Reference in a new issue