branch: externals/ivy-posframe
commit 05432ef3c21566fa4039e037fa1a62784bfb062a
Author: Feng Shu <[email protected]>
Commit: Feng Shu <[email protected]>
fallback width = frame-width * 0.618
---
ivy-posframe.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ivy-posframe.el b/ivy-posframe.el
index f183172..10eb265 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -209,7 +209,7 @@ This variable is useful for `ivy-posframe-read-action' .")
:background-color (face-attribute 'ivy-posframe :background)
:foreground-color (face-attribute 'ivy-posframe :foreground)
:height (or ivy-posframe-height ivy-height)
- :width (or ivy-posframe-width (/ (frame-width) 2))
+ :width (or ivy-posframe-width (round (* (frame-width) 0.62)))
:min-height (or ivy-posframe-min-height 10)
:min-width (or ivy-posframe-min-width 50)
:internal-border-width ivy-posframe-border-width