Radish alpha
r
Radicle terminal user interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
lib: Fix split container margins
Erik Kundt committed 1 year ago
commit c2b3a874fdd378233034b4938d3531c1ea7d0502
parent 4f8696657a313b65fef3dc52dfe470dcb7a1874e
1 file changed +2 -2
modified src/ui/widget/container.rs
@@ -568,7 +568,7 @@ where
                .direction(Direction::Vertical)
                .constraints(vec![Constraint::Min(1)])
                .vertical_margin(1)
-
                .horizontal_margin(2)
+
                .horizontal_margin(1)
                .areas(top_area);
            top.render(RenderProps::from(top_area).focus(render.focus), frame)
        }
@@ -584,7 +584,7 @@ where
            let [bottom_area, _] = Layout::default()
                .direction(Direction::Vertical)
                .constraints(vec![Constraint::Min(1), Constraint::Length(1)])
-
                .horizontal_margin(2)
+
                .horizontal_margin(1)
                .areas(bottom_area);
            bottom.render(RenderProps::from(bottom_area).focus(render.focus), frame)
        }