From e6cb183134c34a55b2bb6edba468fbcb3b1118c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Tue, 24 Aug 2021 13:21:49 +0900 Subject: [PATCH] ui: Fix preview window padding: we want horizontal, not vertical --- helix-term/src/ui/picker.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helix-term/src/ui/picker.rs b/helix-term/src/ui/picker.rs index 036b41c8..c6b9a3e6 100644 --- a/helix-term/src/ui/picker.rs +++ b/helix-term/src/ui/picker.rs @@ -106,8 +106,8 @@ impl Component for FilePicker { let inner = block.inner(preview_area); // 1 column gap on either side let margin = Margin { - vertical: 1, - horizontal: 0, + vertical: 0, + horizontal: 1, }; let inner = inner.inner(&margin);