From 5fd5b0eed810331d7836ef2812276f154da3d9da Mon Sep 17 00:00:00 2001 From: Akos Kitta Date: Wed, 26 Jul 2023 11:56:42 +0200 Subject: [PATCH] fix: board list item actions are aligned to left --- .../src/browser/boards/boards-service-provider.ts | 5 +---- .../src/browser/style/boards-config-dialog.css | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/arduino-ide-extension/src/browser/boards/boards-service-provider.ts b/arduino-ide-extension/src/browser/boards/boards-service-provider.ts index 982de55d1..397285a2f 100644 --- a/arduino-ide-extension/src/browser/boards/boards-service-provider.ts +++ b/arduino-ide-extension/src/browser/boards/boards-service-provider.ts @@ -373,11 +373,8 @@ export class BoardsServiceProvider ]); const selectedBoard = this.tryParse(maybeSelectedBoard, isBoardIdentifier); const selectedPort = this.tryParse(maybeSelectedPort, isPortIdentifier); - let boardListHistory = + const boardListHistory = this.tryParse(maybeBoardHistory, isBoardListHistory) ?? {}; - if ('hack'.length) { - boardListHistory = {}; // TODO remove this - } return { selectedBoard, selectedPort, boardListHistory }; } diff --git a/arduino-ide-extension/src/browser/style/boards-config-dialog.css b/arduino-ide-extension/src/browser/style/boards-config-dialog.css index fcf7fa4ef..264226413 100644 --- a/arduino-ide-extension/src/browser/style/boards-config-dialog.css +++ b/arduino-ide-extension/src/browser/style/boards-config-dialog.css @@ -271,7 +271,6 @@ div#select-board-dialog .selectBoardContainer .list .item.selected i { .arduino-boards-dropdown-item--board-label { font-size: 14px; align-self: center; - flex-grow: 1; /* pushes the toolbar to the right */ } .arduino-boards-dropdown-item .arduino-boards-dropdown-item--label .arduino-boards-dropdown-item--board-name .p-TabBar-toolbar > div {