firmware/installPybricksDialog: fix some layout issues

This commit is contained in:
David Lechner
2022-07-20 15:24:36 -05:00
parent af8a31d50c
commit 0721a24ef8
2 changed files with 22 additions and 11 deletions
@@ -1,22 +1,28 @@
// SPDX-License-Identifier: MIT
// Copyright (c) 2022 The Pybricks Authors
@use '@blueprintjs/core/lib/scss/variables' as bp;
.pb-firmware-installPybricksDialog {
&-body {
min-height: 250px;
min-height: bp.$pt-grid-size * 25;
}
&-license {
display: flex;
flex-direction: column;
gap: 10px;
gap: bp.$pt-grid-size;
min-height: inherit;
&-text {
flex-grow: 1;
min-height: 0;
max-height: 200px;
max-height: bp.$pt-grid-size * 20;
overflow: auto;
& .#{bp.$ns}-non-ideal-state {
min-height: bp.$pt-grid-size * 20;
}
}
}
}