Skip to content

Commit

Permalink
🐛 Admonition modal min 40 columns wide instead of 8
Browse files Browse the repository at this point in the history
Signed-off-by: rjdbcm <[email protected]>
  • Loading branch information
rjdbcm committed Jun 30, 2024
1 parent dc9186c commit 0edcc3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ozi/new/interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ def ok_handler() -> None:
Button(text=cancel_text, handler=_return_none),
],
with_background=True,
width=min(longest_line + 8, 80),
width=min(max(longest_line + 8, 40), 80),
)
bindings = KeyBindings()
bindings.add('tab')(focus_next)
Expand Down

0 comments on commit 0edcc3b

Please sign in to comment.