Improved the scrolling UX in list widgets

- Fixed scrollbar does not reach end of list widget.
 - Estimated row heights to provide better scroll UX.
 - Last item's `<select>` must be visible.

Closes #1380
Closes #1381
Closes #1387

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
This commit is contained in:
Akos Kitta
2022-09-02 11:21:36 +02:00
committed by Akos Kitta
parent df3a34eec6
commit d0dfc656e6
3 changed files with 38 additions and 34 deletions

View File

@@ -44,10 +44,6 @@
height: 100%; /* This has top be 100% down to the `scrollContainer`. */
}
.filterable-list-container .items-container {
padding-bottom: calc(2 * var(--theia-statusBar-height));
}
.filterable-list-container .items-container > div > div:nth-child(odd) {
background-color: var(--theia-sideBar-background);
filter: contrast(105%);