Skip to content

Commit cc43c8e

Browse files
author
Akos Kitta
committed
Fixed scrollbar does not reach end of list widget.
Closes #1380 Signed-off-by: Akos Kitta <[email protected]>
1 parent 0d545be commit cc43c8e

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

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

-4
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@
4444
height: 100%; /* This has top be 100% down to the `scrollContainer`. */
4545
}
4646

47-
.filterable-list-container .items-container {
48-
padding-bottom: calc(2 * var(--theia-statusBar-height));
49-
}
50-
5147
.filterable-list-container .items-container > div > div:nth-child(odd) {
5248
background-color: var(--theia-sideBar-background);
5349
filter: contrast(105%);

Diff for: arduino-ide-extension/src/browser/widgets/component-list/filterable-list-container.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ export class FilterableListContainer<
5151
<div className={'filterable-list-container'}>
5252
{this.renderSearchBar()}
5353
{this.renderSearchFilter()}
54-
{this.renderComponentList()}
54+
<div className="filterable-list-container">
55+
{this.renderComponentList()}
56+
</div>
5557
</div>
5658
);
5759
}

0 commit comments

Comments
 (0)