Make theme selector match other selector styling

This commit is contained in:
Keith Simmons 2022-03-09 10:40:30 -08:00
parent 99e34db0ec
commit 853acccbc2
2 changed files with 6 additions and 2 deletions

View File

@ -76,7 +76,7 @@ impl View for FileFinder {
Container::new(
Flex::new(Axis::Vertical)
.with_child(
Container::new(ChildView::new(&self.query_editor).boxed())
ChildView::new(&self.query_editor).contained()
.with_style(settings.theme.selector.input_editor.container)
.boxed(),
)

View File

@ -340,7 +340,11 @@ impl View for ThemeSelector {
ConstrainedBox::new(
Container::new(
Flex::new(Axis::Vertical)
.with_child(ChildView::new(&self.query_editor).boxed())
.with_child(
ChildView::new(&self.query_editor).contained()
.with_style(settings.theme.selector.input_editor.container)
.boxed(),
)
.with_child(Flexible::new(1.0, false, self.render_matches(cx)).boxed())
.boxed(),
)