diff options
author | Blaž Hrastnik | 2021-03-05 07:07:46 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-03-05 07:07:46 +0000 |
commit | 1d42b959159751078b3bbc159a45cebe51d924fa (patch) | |
tree | a18b9b752a2b6a5e32320278b54d587b870a1d30 /helix-term/src/ui/popup.rs | |
parent | a5c4314940e2ef875026f52ffb6f285725d3fb02 (diff) |
ui: wip: Markdown doc renderer.
Diffstat (limited to 'helix-term/src/ui/popup.rs')
-rw-r--r-- | helix-term/src/ui/popup.rs | 4 |
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; |