Skip to content

Commit

Permalink
Fix incorrect proportion in detail view
Browse files Browse the repository at this point in the history
  • Loading branch information
Exidex committed Apr 6, 2024
1 parent 35d419b commit 49161ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/client/src/ui/widget.rs
Original file line number Diff line number Diff line change
Expand Up @@ -416,12 +416,12 @@ impl ComponentWidgetWrapper {
let content_element = render_child_by_type(children, |widget| matches!(widget, ComponentWidget::Content { .. }), ComponentRenderContext::None)
.map(|content_element| {
let content_element: Element<_> = container(content_element)
.width(Length::FillPortion(3))
.width(Length::Fill)
.padding(Padding::from([5.0, 5.0, 0.0, 5.0]))
.into();

let content_element: Element<_> = scrollable(content_element)
.width(Length::Fill)
.width(Length::FillPortion(3))
.into();

content_element
Expand Down

0 comments on commit 49161ec

Please sign in to comment.