Skip to content

Commit 05f340b

Browse files
author
Akos Kitta
committed
use flex display per filter
Signed-off-by: Akos Kitta <[email protected]>
1 parent b3d1fe8 commit 05f340b

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

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

+10
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@
2323
padding: 0px 5px 0px 0px;
2424
}
2525

26+
.arduino-list-widget .filter-bar .filter {
27+
display: flex;
28+
align-items: center;
29+
flex-grow: 1;
30+
}
31+
32+
.arduino-list-widget .filter-bar .filter > * {
33+
flex-grow: 1;
34+
}
35+
2636
.filterable-list-container {
2737
display: flex;
2838
flex-direction: column;

Diff for: arduino-ide-extension/src/browser/widgets/component-list/filter-renderer.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export abstract class FilterRenderer<S extends Searchable.Options> {
1818
{Object.entries(options)
1919
.filter(([prop]) => props.includes(prop as keyof S))
2020
.map(([prop, value]) => (
21-
<div key={prop}>
21+
<div key={prop} className="filter">
2222
{this.propertyLabel(prop as keyof S)}:
2323
<select
2424
className="theia-select"

0 commit comments

Comments
 (0)