Skip to content

Commit

Permalink
fix(modal): add min-heigh: 140px to content of Modal (#1775)
Browse files Browse the repository at this point in the history
Co-authored-by: maxin <maxin@growingio.com>
  • Loading branch information
nnmax and maxin committed Jan 7, 2022
1 parent 127648b commit 2b3b048
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/modal/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,14 @@
position: relative;
display: flex;
flex-direction: column;
@modal-full-height: 100vh;
min-height: 140px;
max-height: calc(~'@{modal-full-height} - 200px');
background-color: @gray-0;
background-clip: padding-box;
border: 1px solid @gray-2;
.elevation(2);
border-radius: 8px;
@modal-full-height: 100vh;
.elevation(2);
}

&-close {
Expand Down

1 comment on commit 2b3b048

@vercel
Copy link

@vercel vercel bot commented on 2b3b048 Jan 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.