From 1d42b959159751078b3bbc159a45cebe51d924fa Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Fri, 5 Mar 2021 16:07:46 +0900 Subject: ui: wip: Markdown doc renderer. --- helix-term/src/ui/popup.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'helix-term/src/ui/popup.rs') 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; -- cgit v1.2.3-70-g09d2