Skip to content

Commit 8827457

Browse files
authored
[DDW-751] Fix issues related to minimum screen size (#2719)
* [DDW-751] Fix scroll in initial settings page * [DDW-751] Fix App Update Overlay height * [DDW-751] Alphabetize css properties * [DDW-751] Update CHANGELOG * [DDW-754] Vertically aligned initial settings page
1 parent 2eb81f6 commit 8827457

File tree

4 files changed

+20
-5
lines changed

4 files changed

+20
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
### Fixes
1111

12+
- Fixed issues relating to minimum window size in Daedalus ([PR 2719](https://github.com/input-output-hk/daedalus/pull/2719))
1213
- Updated "Trezor T" image shown on the "Pair a hardware wallet device" dialog ([PR 2712](https://github.com/input-output-hk/daedalus/pull/2712))
1314
- Fixed transaction timestamps localization ([PR 2702](https://github.com/input-output-hk/daedalus/pull/2702))
1415

source/renderer/app/components/appUpdate/AppUpdateOverlay.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
font-family: var(--font-regular);
1111
height: 100vh;
1212
justify-content: center;
13+
padding: 20px 0;
1314
position: fixed;
1415
top: 0;
1516
width: 100vw;
@@ -21,7 +22,8 @@
2122
font-size: 16px;
2223
line-height: 1.2;
2324
margin-bottom: 20px;
24-
max-height: 464px;
25+
max-height: 210px;
26+
min-height: 48px;
2527
opacity: 0.8;
2628
overflow-y: scroll;
2729
padding: 12px 20px;

source/renderer/app/components/layout/TopBarLayout.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,9 @@ $topBarHeight: 84px;
1919
}
2020

2121
.content {
22+
display: flex;
23+
flex: 1;
24+
flex-direction: column;
2225
height: calc(100% - #{$topBarHeight});
26+
overflow-y: overlay;
2327
}
Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,25 @@
11
@import '../../../themes/mixins/error-message';
22

33
.component {
4-
align-items: center;
4+
align-self: center;
55
display: flex;
6-
height: 100%;
7-
justify-content: center;
6+
flex: 1;
7+
flex-direction: column;
8+
justify-self: center;
9+
}
10+
11+
.component::before,
12+
.component::after {
13+
content: '';
14+
display: block;
15+
flex: 1;
16+
min-height: 20px;
817
}
918

1019
.centeredBox {
1120
background-color: var(--theme-bordered-box-background-color);
1221
border: var(--theme-bordered-box-border);
1322
border-radius: 4px;
14-
overflow: visible;
1523
padding: 30px 30px 20px;
1624
width: 620px;
1725
}

0 commit comments

Comments
 (0)