Skip to content

Commit

Permalink
story: Fix image story image size.
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Dec 20, 2024
1 parent 6a310c6 commit c8fae22
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/story/src/image_story.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,17 @@ impl Render for ImageStory {
v_flex()
.gap_4()
.size_full()
.items_center()
.items_start()
.child(
h_flex()
.size_full()
.child(self.google_logo.clone().size(px(300.)).flex_grow())
.child(self.google_logo.clone().w(px(300.)).h(px(300.)).flex_grow())
.child(self.google_logo.clone().size(px(300.)).flex_grow())
.child(self.google_logo.clone().size_80().flex_grow())
.child(self.google_logo.clone().size_12().flex_grow())
.child(self.google_logo.clone().w(px(300.)).h(px(300.))),
.child(self.google_logo.clone().size(px(300.))),
)
.child(self.inbox_img.clone().w(px(24.)).h(px(24.)))
.child(self.pie_chart.clone().w_full().h(px(400.)))
.child(self.inbox_img.clone().flex_shrink_0().size(px(64.)))
.child(self.pie_chart.clone().flex_shrink_0().w_full().h(px(400.)))
}
}

0 comments on commit c8fae22

Please sign in to comment.