Skip to content

Commit

Permalink
fixing custom link popover size and hiding scroll (elastic#63240)
Browse files Browse the repository at this point in the history
  • Loading branch information
cauemarcondes authored and Maja Grubic committed Apr 16, 2020
1 parent c63933a commit adf38e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import { ManageCustomLink } from './ManageCustomLink';
import { px } from '../../../../style/variables';

const ScrollableContainer = styled.div`
-ms-overflow-style: none;
max-height: ${px(535)};
overflow: scroll;
`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export const TransactionActionMenu: FunctionComponent<Props> = ({
<ActionMenuButton onClick={() => setIsActionPopoverOpen(true)} />
}
>
<div style={{ maxHeight: px(600) }}>
<div style={{ maxHeight: px(600), width: px(335) }}>
{isCustomLinksPopoverOpen ? (
<CustomLinkPopover
customLinks={customLinks.slice(3, customLinks.length)}
Expand Down

0 comments on commit adf38e0

Please sign in to comment.