Skip to content

Commit

Permalink
fix(GUI): wizard modal dialog internal layout dimensions ( Fixes #2212
Browse files Browse the repository at this point in the history
…PR #2221 )
  • Loading branch information
arthur-lemeur committed May 17, 2024
1 parent 5c328a9 commit 2652290
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/renderer/assets/styles/components/modals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,12 @@
max-width: 100%;
width: 100%;
margin: 0;
max-height: 350px;
max-height: 320px;
height: 100%;

@media screen and (height <= 650px) {
max-height: 230px;
}
}

.guidedTour_buttons {
Expand Down
6 changes: 4 additions & 2 deletions src/renderer/assets/styles/components/settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ $setting_color: var(--color-blue);
accent-color: $setting_color;
}

@media screen and (height <= 700px) {
height: 450px;
&:not(:has(.guidedTour_content)) {
@media screen and (height <= 700px) {
height: 450px;
}
}

.section {
Expand Down

0 comments on commit 2652290

Please sign in to comment.