tooltip don't overflow parent right edge

i have a tooltip that's top left is the cursor position. is it possible, in css, to constrain the right edge of the modal to the right edge of the parent (so no overflow)
No description
1 Reply
Natejoestev
NatejoestevOP11mo ago
the tooltip itself is position: absolute; and using left&top to move to cursor in js.
Want results from more Discord servers?
Add your server