wip
This commit is contained in:
@@ -205,6 +205,7 @@ impl Sidebar {
|
||||
|
||||
pub(super) fn render_find(&self, cx: &mut Context<Self>) -> AnyElement {
|
||||
h_flex()
|
||||
.mb_2()
|
||||
.px_2()
|
||||
.flex_shrink_0()
|
||||
.w_full()
|
||||
@@ -214,8 +215,8 @@ impl Sidebar {
|
||||
.gap_1()
|
||||
.w_full()
|
||||
.rounded(cx.theme().radius)
|
||||
.bg(cx.theme().secondary)
|
||||
.child(Input::new(&self.find_input).appearance(false).small())
|
||||
.bg(cx.theme().input_background())
|
||||
.child(Input::new(&self.find_input).appearance(false))
|
||||
.child(
|
||||
Button::new("sidebar-global")
|
||||
.icon(IconName::Compass)
|
||||
@@ -224,7 +225,7 @@ impl Sidebar {
|
||||
} else {
|
||||
"Enable global search"
|
||||
})
|
||||
.small()
|
||||
.xsmall()
|
||||
.ghost()
|
||||
.selected(self.global_open)
|
||||
.loading(self.global_finding)
|
||||
|
||||
Reference in New Issue
Block a user