1
1
div # select-board-dialog {
2
- margin : 5px 20 px 50 px 20 px ;
2
+ margin : 5px ;
3
3
}
4
4
5
5
div # select-board-dialog .selectBoardContainer .body {
6
6
display : flex;
7
7
overflow : hidden;
8
8
}
9
9
10
- div . dialogContent . select-board-dialog > div .head {
11
- padding-left : 21 px ;
10
+ . select-board-dialog .head {
11
+ margin : 5 px ;
12
12
}
13
13
14
14
div .dialogContent .select-board-dialog > div .head .title {
15
15
font-weight : 400 ;
16
16
letter-spacing : .02em ;
17
17
font-size : 1.2em ;
18
18
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 ;
24
20
}
25
21
26
22
div # select-board-dialog .selectBoardContainer .body .list .item .selected {
@@ -57,6 +53,8 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected i {
57
53
# select-board-dialog .selectBoardContainer .body .container {
58
54
flex : 1 ;
59
55
padding : 0px 10px 0px 0px ;
56
+ min-width : 240px ;
57
+ max-width : 240px ;
60
58
}
61
59
62
60
# select-board-dialog .selectBoardContainer .body .left .container .content {
@@ -82,15 +80,17 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected i {
82
80
color : var (--theia-arduino-branding-secondary );
83
81
padding : 10px 5px 10px 10px ;
84
82
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 ;
88
86
}
89
87
90
88
# select-board-dialog .selectBoardContainer .body .list .item {
91
89
padding : 10px 5px 10px 10px ;
92
90
display : flex;
93
91
justify-content : end;
92
+ white-space : nowrap;
93
+ overflow-x : hidden;
94
94
}
95
95
96
96
# select-board-dialog .selectBoardContainer .body .list .item .selected-icon {
@@ -114,9 +114,17 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected i {
114
114
background : var (--theia-secondaryButton-hoverBackground );
115
115
}
116
116
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
+
117
125
# 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 ;
120
128
overflow-y : auto;
121
129
}
122
130
@@ -132,14 +140,8 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected i {
132
140
}
133
141
134
142
.p-Widget .dialogOverlay .dialogContent .select-board-dialog {
135
- width : 740px ;
136
- }
137
-
138
-
139
- .dialogControl {
140
- margin : 0 20px 30px 0 ;
143
+ width : 500px ;
141
144
}
142
-
143
145
.arduino-boards-toolbar-item-container {
144
146
margin-left : 3px ;
145
147
}
0 commit comments