FIX;Modal scrollable only body, no header

This commit is contained in:
Roman Jaroš 2019-08-26 18:58:49 +02:00
parent 2cf49e2745
commit 4be749ac90

View file

@ -27,8 +27,6 @@ export const StyledModal = styled.div.attrs({
max-width: 80vw;
width: ${(p) => p.width ? `${p.width}px` : 'auto'};
max-height: 70vh;
overflow-y: auto;
@media only screen and (max-width: ${(p) => p.theme.tabletScreenSize}px) {
margin: 20px auto;
@ -70,4 +68,6 @@ export const StyledModalBody = styled.div`
padding: 20px;
min-height: 20px;
max-height: 70vh;
overflow-y: auto;
`;