From 8708dce09b58c1fc21268ddb8be838907958e6ce Mon Sep 17 00:00:00 2001 From: Softer Date: Wed, 6 May 2026 15:57:02 +0300 Subject: [PATCH] Add missing wrap-preview CSS to OptionListScreen and pass parameter through SelectMenu --- archinstall/lib/menu/helpers.py | 1 + archinstall/tui/components.py | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/archinstall/lib/menu/helpers.py b/archinstall/lib/menu/helpers.py index 3d161508..947f3c55 100644 --- a/archinstall/lib/menu/helpers.py +++ b/archinstall/lib/menu/helpers.py @@ -52,6 +52,7 @@ class Selection[ValueT]: allow_reset=self._allow_reset, preview_location=self._preview_location, enable_filter=self._enable_filter, + wrap_preview=self._wrap_preview, ).run() if result.type_ == ResultType.Reset: diff --git a/archinstall/tui/components.py b/archinstall/tui/components.py index 9268b57b..f732c21f 100644 --- a/archinstall/tui/components.py +++ b/archinstall/tui/components.py @@ -200,6 +200,11 @@ class OptionListScreen(BaseScreen[ValueT]): color: white; text-style: bold; } + + .wrap-preview { + width: 100%; + height: auto; + } """ def __init__(