Skip to content

Commit

Permalink
fix(SharePopover): fix style for buttons going beyond limits (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
mournfulCoroner authored Dec 8, 2023
1 parent 598f1c4 commit bdd5dac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/SharePopover/SharePopover.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ $block: '.#{variables.$ns}share-popover';
padding: 8px;
}

&__tooltip-content {
max-width: none;
}

&__container {
@include mixins.button-reset();
@include mixins.focusable();
Expand Down
1 change: 1 addition & 0 deletions src/components/SharePopover/SharePopover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bdd5dac

Please sign in to comment.