Refine project panel, list

This commit is contained in:
Nate Butler 2023-10-11 12:22:24 -04:00
parent b6a9c58994
commit 0d8c743dfe
7 changed files with 199 additions and 185 deletions

View file

@ -22,17 +22,17 @@ impl<S: 'static + Send + Sync + Clone> ProjectPanel<S> {
fn render(&mut self, cx: &mut ViewContext<S>) -> impl Element<State = S> {
let theme = theme(cx);
let color = ThemeColor::new(cx);
div()
.flex()
.flex_col()
.w_full()
.h_full()
.px_2()
.fill(theme.middle.base.default.background)
.fill(color.panel_surface)
.child(
div()
.w_56()
.w_full()
.flex()
.flex_col()
.overflow_y_scroll(ScrollState::default())