summaryrefslogtreecommitdiff
path: root/helix-term/src/ui/popup.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-03-05 07:07:46 +0000
committerBlaž Hrastnik2021-03-05 07:07:46 +0000
commit1d42b959159751078b3bbc159a45cebe51d924fa (patch)
treea18b9b752a2b6a5e32320278b54d587b870a1d30 /helix-term/src/ui/popup.rs
parenta5c4314940e2ef875026f52ffb6f285725d3fb02 (diff)
ui: wip: Markdown doc renderer.
Diffstat (limited to 'helix-term/src/ui/popup.rs')
-rw-r--r--helix-term/src/ui/popup.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/ui/popup.rs b/helix-term/src/ui/popup.rs
index 7260a997..625ee2b3 100644
--- a/helix-term/src/ui/popup.rs
+++ b/helix-term/src/ui/popup.rs
@@ -82,8 +82,8 @@ impl Component for Popup {
.size_hint(viewport)
.expect("Component needs size_hint implemented in order to be embedded in a popup");
- let width = width.min(150) as u16;
- let height = height.min(13) as u16;
+ let width = width.min(120) as u16;
+ let height = height.min(26) as u16;
// -- make sure frame doesn't stick out of bounds
let mut rel_x = position.col as u16;