Fix "in contacts" tooltip exceeding desired boundary
See [#4907][0]. [0]: https://github.com/signalapp/Signal-Desktop/pull/4907
This commit is contained in:
parent
54974b377a
commit
2cd02855fc
5 changed files with 65 additions and 4 deletions
|
@ -81,6 +81,26 @@ story.add('Sticky', () => (
|
|||
</Tooltip>
|
||||
));
|
||||
|
||||
story.add('With Applied Popper Modifiers', () => {
|
||||
return (
|
||||
<Tooltip
|
||||
{...createProps({
|
||||
direction: TooltipPlacement.Bottom,
|
||||
})}
|
||||
popperModifiers={[
|
||||
{
|
||||
name: 'offset',
|
||||
options: {
|
||||
offset: [80, 80],
|
||||
},
|
||||
},
|
||||
]}
|
||||
>
|
||||
{Trigger}
|
||||
</Tooltip>
|
||||
);
|
||||
});
|
||||
|
||||
story.add('Dark Theme', () => (
|
||||
<Tooltip
|
||||
{...createProps({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue