Skip to content

Commit a6e1c4a

Browse files
committed
Improved layout of "Board Select" and "File Navigator" dialogs
Signed-off-by: jbicker <jan.bicker@typefox.io>
1 parent 269f08b commit a6e1c4a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

arduino-ide-extension/src/browser/boards/select-board-dialog.ts

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ export class SelectBoardDialog extends AbstractDialog<BoardAndPortSelection> {
2626
this.dialogPanel = new Panel();
2727
this.dialogPanel.addWidget(this.widget);
2828

29+
this.contentNode.classList.add('select-board-dialog');
30+
2931
this.toDispose.push(this.widget.onChanged(() => this.update()));
3032
this.toDispose.push(this.dialogPanel);
3133

arduino-ide-extension/src/browser/style/board-select-dialog.css

+5-1
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,18 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected i{
8585
overflow-y: auto;
8686
}
8787

88+
#select-board-dialog .selectBoardContainer .body .boards.list {
89+
min-height: 265px;
90+
}
91+
8892
#select-board-dialog .selectBoardContainer .body .search {
8993
margin-bottom: 10px;
9094
display: flex;
9195
align-items: center;
9296
padding-right: 5px;
9397
}
9498

95-
.p-Widget.dialogOverlay .dialogBlock {
99+
.p-Widget.dialogOverlay .dialogContent.select-board-dialog {
96100
width: 740px;
97101
}
98102

0 commit comments

Comments
 (0)