diff options
author | Blaž Hrastnik | 2021-08-24 04:21:49 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-08-24 04:25:39 +0000 |
commit | e6cb183134c34a55b2bb6edba468fbcb3b1118c4 (patch) | |
tree | 170dd625b7032970864af0e62915e67918038b4d /helix-term | |
parent | a5c3c6c6a9e21e850440130e00ebaff57e7d4f4d (diff) |
ui: Fix preview window padding: we want horizontal, not vertical
Diffstat (limited to 'helix-term')
-rw-r--r-- | helix-term/src/ui/picker.rs | 4 |
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); |