Skip to content

Commit

Permalink
chore: add overflow to modal, closes #824
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranjamie committed May 27, 2021
1 parent 4bb2439 commit 5e64254
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/modals/components/base-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import React from 'react';
import { color, ControlledModal, ModalProps } from '@stacks/ui';

export const Modal: React.FC<ModalProps> = props => (
<ControlledModal border={`1px solid ${color('border')}`} {...props} />
<ControlledModal border={`1px solid ${color('border')}`} overflowY="auto" {...props} />
);
2 changes: 1 addition & 1 deletion app/modals/components/modal-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ interface TxModalHeaderProps {

export const ModalHeader: FC<TxModalHeaderProps> = ({ children, onSelectClose }) => (
<Flex
height="84px"
minHeight="84px"
px="extra-loose"
alignItems="center"
borderBottom={`1px solid ${color('border')}`}
Expand Down

0 comments on commit 5e64254

Please sign in to comment.