aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-08-24 04:21:49 +0000
committerBlaž Hrastnik2021-08-24 04:25:39 +0000
commite6cb183134c34a55b2bb6edba468fbcb3b1118c4 (patch)
tree170dd625b7032970864af0e62915e67918038b4d /helix-term/src/ui
parenta5c3c6c6a9e21e850440130e00ebaff57e7d4f4d (diff)
ui: Fix preview window padding: we want horizontal, not vertical
Diffstat (limited to 'helix-term/src/ui')
-rw-r--r--helix-term/src/ui/picker.rs4
1 files 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<T: 'static> Component for FilePicker<T> {
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);