Fix toolbar spacing regressions (#29964)
Cleaning up as I introduced a few regressions in this PR: https://github.com/zed-industries/zed/pull/29866. Release Notes: - N/A
This commit is contained in:
parent
bdd911f89e
commit
377909a646
4 changed files with 29 additions and 33 deletions
|
@ -106,6 +106,7 @@ impl Render for Toolbar {
|
|||
v_flex()
|
||||
.group("toolbar")
|
||||
.relative()
|
||||
.p(DynamicSpacing::Base08.rems(cx))
|
||||
.when(has_left_items || has_right_items, |this| {
|
||||
this.gap(DynamicSpacing::Base08.rems(cx))
|
||||
})
|
||||
|
@ -121,7 +122,6 @@ impl Render for Toolbar {
|
|||
.when(has_left_items, |this| {
|
||||
this.child(
|
||||
h_flex()
|
||||
.p(DynamicSpacing::Base08.rems(cx))
|
||||
.flex_auto()
|
||||
.justify_start()
|
||||
.overflow_x_hidden()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue