Skip to content

Commit

Permalink
fix(Dialog): revise dialog content height
Browse files Browse the repository at this point in the history
  • Loading branch information
wlliaml committed Feb 28, 2024
1 parent c86aa1a commit 0733f64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Dialog/Content/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
display: flex;
flex-direction: column;
flex-shrink: 1;
max-height: calc(80vh - 4.25rem); /* 4.25rem is the height of header */
max-height: calc(70vh - 4.25rem); /* 4.25rem is the height of header */
overflow-x: hidden;
overflow-y: auto;
-webkit-overflow-scrolling: touch;

&.fixedHeight {
height: calc(80vh - 4.25rem); /* 4.25rem is the height of header */
height: calc(70vh - 4.25rem); /* 4.25rem is the height of header */

@media (--sm-up) {
height: min(34rem, 64vh);
Expand Down

0 comments on commit 0733f64

Please sign in to comment.