mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-29 10:54:13 +00:00
settings ui: Fix divider in items that doesn't have subfields (#42016)
Release Notes: - N/A Co-authored-by: cameron <cameron.studdstreet@gmail.com>
This commit is contained in:
parent
b8ba663c20
commit
81e87c4cd6
1 changed files with 1 additions and 1 deletions
|
|
@ -891,7 +891,7 @@ impl SettingsPageItem {
|
|||
.px_8()
|
||||
.child(discriminant_element.when(has_sub_fields, |this| this.pb_4())),
|
||||
)
|
||||
.when(!has_sub_fields, |this| {
|
||||
.when(!has_sub_fields && !is_last, |this| {
|
||||
this.child(h_flex().px_8().child(Divider::horizontal()))
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue