Skip to content

Commit

Permalink
Fix Modal height (#2038)
Browse files Browse the repository at this point in the history
* Fix Modal height

Changed Shares and traces modal heights so on small screens modal so it will fit to screen add css into global modal css

* Replace id selector with Class

Replace ID selector of modal container with class selector

---------

Co-authored-by: Harel M <[email protected]>
  • Loading branch information
MAvaisAshraf and HarelM authored Oct 13, 2024
1 parent 663ffe5 commit 9ed2026
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions IsraelHiking.Web/src/scss/dialogs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,10 @@
min-width: 48px;
height: 48px;
}
}

@media(max-height:550px){
.mat-mdc-dialog-content {
max-height: calc(100vh - 170px);
}
}

0 comments on commit 9ed2026

Please sign in to comment.