Tool bar: Remove tool grouping for clarity (#15285)
This PR makes the spacing between items in the tool bar (quick action bar) consistent vs grouped by type. The idea was to add clarity to the types of tools, but we haven't built this system out enough for these groupings to be recognizable. So for now, let's make the spacing consistent. Before:  After:  Release Notes: - N/A
This commit is contained in:
parent
4d56252bae
commit
a5279cc48a
1 changed files with 10 additions and 18 deletions
|
@ -303,9 +303,6 @@ impl Render for QuickActionBar {
|
|||
|
||||
h_flex()
|
||||
.id("quick action bar")
|
||||
.gap(Spacing::XXLarge.rems(cx))
|
||||
.child(
|
||||
h_flex()
|
||||
.gap(Spacing::Medium.rems(cx))
|
||||
.children(self.render_repl_menu(cx))
|
||||
.children(self.render_toggle_markdown_preview(self.workspace.clone(), cx))
|
||||
|
@ -314,14 +311,9 @@ impl Render for QuickActionBar {
|
|||
AssistantSettings::get_global(cx).enabled
|
||||
&& AssistantSettings::get_global(cx).button,
|
||||
|bar| bar.child(assistant_button),
|
||||
),
|
||||
)
|
||||
.child(
|
||||
h_flex()
|
||||
.gap(Spacing::Medium.rems(cx))
|
||||
.children(editor_selections_dropdown)
|
||||
.child(editor_settings_dropdown),
|
||||
)
|
||||
.child(editor_settings_dropdown)
|
||||
.when_some(self.repl_menu.as_ref(), |el, repl_menu| {
|
||||
el.child(Self::render_menu_overlay(repl_menu))
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue