Skip to content

Commit 5fd5b0e

Browse files
author
Akos Kitta
committed
fix: board list item actions are aligned to left
1 parent ce83a79 commit 5fd5b0e

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Diff for: arduino-ide-extension/src/browser/boards/boards-service-provider.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -373,11 +373,8 @@ export class BoardsServiceProvider
373373
]);
374374
const selectedBoard = this.tryParse(maybeSelectedBoard, isBoardIdentifier);
375375
const selectedPort = this.tryParse(maybeSelectedPort, isPortIdentifier);
376-
let boardListHistory =
376+
const boardListHistory =
377377
this.tryParse(maybeBoardHistory, isBoardListHistory) ?? {};
378-
if ('hack'.length) {
379-
boardListHistory = {}; // TODO remove this
380-
}
381378
return { selectedBoard, selectedPort, boardListHistory };
382379
}
383380

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

-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ div#select-board-dialog .selectBoardContainer .list .item.selected i {
271271
.arduino-boards-dropdown-item--board-label {
272272
font-size: 14px;
273273
align-self: center;
274-
flex-grow: 1; /* pushes the toolbar to the right */
275274
}
276275

277276
.arduino-boards-dropdown-item .arduino-boards-dropdown-item--label .arduino-boards-dropdown-item--board-name .p-TabBar-toolbar > div {

0 commit comments

Comments
 (0)