FIX;Modal scrollable only body, no header
This commit is contained in:
parent
2cf49e2745
commit
4be749ac90
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,6 @@ export const StyledModal = styled.div.attrs({
|
||||||
|
|
||||||
max-width: 80vw;
|
max-width: 80vw;
|
||||||
width: ${(p) => p.width ? `${p.width}px` : 'auto'};
|
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) {
|
@media only screen and (max-width: ${(p) => p.theme.tabletScreenSize}px) {
|
||||||
margin: 20px auto;
|
margin: 20px auto;
|
||||||
|
@ -70,4 +68,6 @@ export const StyledModalBody = styled.div`
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
|
|
||||||
min-height: 20px;
|
min-height: 20px;
|
||||||
|
max-height: 70vh;
|
||||||
|
overflow-y: auto;
|
||||||
`;
|
`;
|
||||||
|
|
Loading…
Add table
Reference in a new issue