refactor(ui): use v_flex/h_flex helpers in components
Rust / build (macos-latest, stable) (push) Waiting to run
Rust / build (ubuntu-latest, stable) (push) Waiting to run
Rust / build (windows-latest, stable) (push) Waiting to run

This commit is contained in:
2026-11-20 08:43:28 +07:00
parent 01c3ced1c7
commit 7962c2c50e
10 changed files with 25 additions and 49 deletions
+2 -4
View File
@@ -25,7 +25,7 @@ use gpui::{
};
use crate::components::common::{
StyledExt as _, nav_key, paint_selectable_row, selectable_label_color,
StyledExt as _, nav_key, paint_selectable_row, selectable_label_color, v_flex,
};
use crate::icons::{Icon, IconRole, icon};
use crate::theme::ActiveTheme as _;
@@ -283,10 +283,8 @@ impl RenderOnce for Tree {
})
.collect();
div()
v_flex()
.id(self.id)
.flex()
.flex_col()
.gap_0p5()
.text_sm()
.refine_style(&self.style)