update tabbar
This commit is contained in:
@@ -58,13 +58,16 @@ impl Panel for GreeterPanel {
|
||||
}
|
||||
|
||||
fn title(&self, cx: &App) -> AnyElement {
|
||||
div()
|
||||
h_flex()
|
||||
.gap_1()
|
||||
.text_xs()
|
||||
.child(
|
||||
svg()
|
||||
.path("brand/coop.svg")
|
||||
.size_4()
|
||||
.text_color(cx.theme().text_muted),
|
||||
)
|
||||
.child("Welcome")
|
||||
.into_any_element()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -142,7 +142,7 @@ impl Sidebar {
|
||||
.child(
|
||||
Avatar::new(avatar.clone())
|
||||
.seed(avatar_seed.clone())
|
||||
.xsmall(),
|
||||
.small(),
|
||||
)
|
||||
.small()
|
||||
.caret()
|
||||
|
||||
@@ -141,13 +141,13 @@ impl RenderOnce for TreeRow {
|
||||
(seed, Some(picture)) => Some(
|
||||
Avatar::from_source(picture)
|
||||
.when_some(seed, |avatar, seed| avatar.seed(seed))
|
||||
.xsmall()
|
||||
.small()
|
||||
.flex_shrink_0()
|
||||
.into_any_element(),
|
||||
),
|
||||
(Some(seed), None) => Some(
|
||||
PixelAvatar::new(seed)
|
||||
.xsmall()
|
||||
.small()
|
||||
.flex_shrink_0()
|
||||
.into_any_element(),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user