Skip to content

Commit 141d118

Browse files
author
Alberto Iannaccone
committed
fix board list getting small when filtering
1 parent a3dc856 commit 141d118

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

Diff for: arduino-ide-extension/src/browser/style/boards-config-dialog.css

+8
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,25 @@
55

66
div#select-board-dialog {
77
margin: 5px;
8+
height: 100%;
89
}
910

1011
div#select-board-dialog .selectBoardContainer {
1112
display: flex;
1213
gap: 10px;
1314
overflow: hidden;
1415
max-height: 100%;
16+
height: 100%;
1517
}
1618

1719
.select-board-dialog .head {
1820
margin: 5px;
1921
}
2022

23+
.dialogContent.select-board-dialog {
24+
height: 100%;
25+
}
26+
2127
div.dialogContent.select-board-dialog > div.head .title {
2228
font-weight: 400;
2329
letter-spacing: 0.02em;
@@ -68,6 +74,7 @@ div#select-board-dialog .selectBoardContainer .list .item.selected i {
6874
display: flex;
6975
flex-direction: column;
7076
max-height: 100%;
77+
height: 100%;
7178
}
7279

7380
#select-board-dialog .selectBoardContainer .left.container .content {
@@ -136,6 +143,7 @@ div#select-board-dialog .selectBoardContainer .list .item.selected i {
136143
#select-board-dialog .selectBoardContainer .list {
137144
max-height: 200px;
138145
overflow-y: auto;
146+
flex: 1;
139147
}
140148

141149
#select-board-dialog .selectBoardContainer .ports.list {

Diff for: arduino-ide-extension/src/browser/style/dialogs.css

+1
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,4 @@
8686
max-height: 400px;
8787
}
8888
}
89+

0 commit comments

Comments
 (0)