Skip to content

Commit

Permalink
Merge pull request #2428 from dewanshDT/dewanshmobile/modal
Browse files Browse the repository at this point in the history
fix: Moda content overflow and Preferences height
  • Loading branch information
lindapaiste authored Nov 7, 2023
2 parents f365644 + c4771cf commit 22ba3de
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 6 additions & 1 deletion client/styles/components/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,13 @@
.modal-content {
@extend %modal;
min-height: #{150 / $base-font-size}rem;
width: #{500 / $base-font-size}rem;
padding: #{20 / $base-font-size}rem;

@media (min-width: 770px) {
width: #{500 / $base-font-size}rem;

}

.modal--reduced & {
//min-height: #{150 / $base-font-size}rem;
}
Expand Down
6 changes: 5 additions & 1 deletion client/styles/components/_preferences.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
flex-direction: column;
outline: none;
height: calc(80vh - #{65 / $base-font-size}rem);
max-height: #{460 / $base-font-size}rem;
& .react-tabs {
max-height: 100%;
display: flex;
Expand All @@ -19,6 +18,11 @@
& .react-tabs__tab-panel {
overflow-y: auto;
}

@media (min-width: 770px) {
max-height: #{460 / $base-font-size}rem;

}
}

.preference__minus-button,
Expand Down

0 comments on commit 22ba3de

Please sign in to comment.