Minor breadcrumb style updates (#14070)
Minor breadcrumb style updates Before:  After:  Release Notes: - N/A
This commit is contained in:
parent
ee623f77c1
commit
95637a0320
1 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ impl Render for Breadcrumbs {
|
|||
.into_any()
|
||||
});
|
||||
let breadcrumbs = Itertools::intersperse_with(highlighted_segments, || {
|
||||
Label::new("›").color(Color::Muted).into_any_element()
|
||||
Label::new("›").color(Color::Placeholder).into_any_element()
|
||||
});
|
||||
|
||||
let breadcrumbs_stack = h_flex().gap_1().children(breadcrumbs);
|
||||
|
@ -83,7 +83,7 @@ impl Render for Breadcrumbs {
|
|||
Some(editor) => element.child(
|
||||
ButtonLike::new("toggle outline view")
|
||||
.child(breadcrumbs_stack)
|
||||
.style(ButtonStyle::Subtle)
|
||||
.style(ButtonStyle::Transparent)
|
||||
.on_click(move |_, cx| {
|
||||
if let Some(editor) = editor.upgrade() {
|
||||
outline::toggle(editor, &editor::actions::ToggleOutline, cx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue