diff --git a/src/components/SharePopover/SharePopover.scss b/src/components/SharePopover/SharePopover.scss index 7eed228d..06690686 100644 --- a/src/components/SharePopover/SharePopover.scss +++ b/src/components/SharePopover/SharePopover.scss @@ -11,6 +11,10 @@ $block: '.#{variables.$ns}share-popover'; padding: 8px; } + &__tooltip-content { + max-width: none; + } + &__container { @include mixins.button-reset(); @include mixins.focusable(); diff --git a/src/components/SharePopover/SharePopover.tsx b/src/components/SharePopover/SharePopover.tsx index 1fb74d29..8ef9b5a9 100644 --- a/src/components/SharePopover/SharePopover.tsx +++ b/src/components/SharePopover/SharePopover.tsx @@ -160,6 +160,7 @@ export const SharePopover = (props: SharePopoverProps) => { content={content} className={b(null, className)} tooltipClassName={b('tooltip', tooltipClassName)} + tooltipContentClassName={b('tooltip-content')} onClick={handleClick} tooltipId={tooltipId} disablePortal