fixing custom link popover size and hiding scroll (#63240) (#63314)

This commit is contained in:
Cauê Marcondes 2020-04-11 23:44:42 +01:00 committed by GitHub
parent bc9eb19865
commit fcd27182ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -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;
`;

View file

@ -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)}