From 932295ed27be53b2758504c2834fe0d651409259 Mon Sep 17 00:00:00 2001 From: Ethanfel Date: Sat, 4 Apr 2026 00:21:55 +0200 Subject: [PATCH] fix: replace direction:rtl with text-align:right on path inputs direction:rtl caused path characters to render in wrong order. text-align:right right-aligns the text (shows end of path) without breaking the character display order. Co-Authored-By: Claude Sonnet 4.6 --- tab_batch_ng.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tab_batch_ng.py b/tab_batch_ng.py index a3c955c..6b41879 100644 --- a/tab_batch_ng.py +++ b/tab_batch_ng.py @@ -639,7 +639,7 @@ def _render_sequence_card(i, seq, batch_list, data, file_path, state, ef_input.on('blur', lambda _, m=_mirror_to_logic_index: m()) ef_input.on('update:model-value', lambda _, m=_mirror_to_logic_index: m()) dict_input(ui.input, 'Video File Path', seq, 'video file path').props( - 'outlined input-style="direction: rtl"').classes('w-full') + 'outlined input-style="text-align: right"').classes('w-full') # Image paths with preview for img_label, img_key in [ @@ -649,7 +649,7 @@ def _render_sequence_card(i, seq, batch_list, data, file_path, state, ]: with ui.row().classes('w-full items-center'): inp = dict_input(ui.input, img_label, seq, img_key).classes( - 'col').props('outlined input-style="direction: rtl"') + 'col').props('outlined input-style="text-align: right"') img_path = Path(seq.get(img_key, '')) if seq.get(img_key) else None if (img_path and img_path.exists() and img_path.suffix.lower() in IMAGE_EXTENSIONS):