Refine project panel, list
This commit is contained in:
parent
b6a9c58994
commit
0d8c743dfe
7 changed files with 199 additions and 185 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue