11div # select-board-dialog {
2- margin : 5px 20 px 50 px 20 px ;
2+ margin : 5px ;
33}
44
55div # select-board-dialog .selectBoardContainer .body {
66 display : flex;
77 overflow : hidden;
88}
99
10- div . dialogContent . select-board-dialog > div .head {
11- padding-left : 21 px ;
10+ . select-board-dialog .head {
11+ margin : 5 px ;
1212}
1313
1414div .dialogContent .select-board-dialog > div .head .title {
1515 font-weight : 400 ;
1616 letter-spacing : .02em ;
1717 font-size : 1.2em ;
1818 color : var (--theia-arduino-branding-primary );
19- margin : 17px 0 ;
20- }
21-
22- div # select-board-dialog .selectBoardContainer .head .text {
23- margin-bottom : 21px ;
19+ margin-bottom : 10px ;
2420}
2521
2622div # select-board-dialog .selectBoardContainer .body .list .item .selected {
@@ -57,6 +53,8 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected i {
5753# select-board-dialog .selectBoardContainer .body .container {
5854 flex : 1 ;
5955 padding : 0px 10px 0px 0px ;
56+ min-width : 240px ;
57+ max-width : 240px ;
6058}
6159
6260# select-board-dialog .selectBoardContainer .body .left .container .content {
@@ -82,15 +80,17 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected i {
8280 color : var (--theia-arduino-branding-secondary );
8381 padding : 10px 5px 10px 10px ;
8482 text-transform : uppercase;
85- /* The max, min-height comes from `.body .list` 265px + 47px top padding - 2 * 10px top padding */
86- max-height : 292 px ;
87- min-height : 292 px ;
83+ /* The max, min-height comes from `.body .list` 200px + 47px top padding - 2 * 10px top padding */
84+ max-height : 227 px ;
85+ min-height : 227 px ;
8886}
8987
9088# select-board-dialog .selectBoardContainer .body .list .item {
9189 padding : 10px 5px 10px 10px ;
9290 display : flex;
9391 justify-content : end;
92+ white-space : nowrap;
93+ overflow-x : hidden;
9494}
9595
9696# select-board-dialog .selectBoardContainer .body .list .item .selected-icon {
@@ -114,9 +114,17 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected i {
114114 background : var (--theia-secondaryButton-hoverBackground );
115115}
116116
117+ # select-board-dialog .selectBoardContainer .body .list .label {
118+ max-width : 215px ;
119+ width : 215px ;
120+ white-space : pre;
121+ overflow : hidden;
122+ text-overflow : ellipsis;
123+ }
124+
117125# select-board-dialog .selectBoardContainer .body .list {
118- max-height : 265 px ;
119- min-height : 265 px ;
126+ max-height : 200 px ;
127+ min-height : 200 px ;
120128 overflow-y : auto;
121129}
122130
@@ -132,14 +140,8 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected i {
132140}
133141
134142.p-Widget .dialogOverlay .dialogContent .select-board-dialog {
135- width : 740px ;
136- }
137-
138-
139- .dialogControl {
140- margin : 0 20px 30px 0 ;
143+ width : 500px ;
141144}
142-
143145.arduino-boards-toolbar-item-container {
144146 margin-left : 3px ;
145147}
0 commit comments