From ef2099847ee34bed03160fe5be9e70a0c5f2c02e Mon Sep 17 00:00:00 2001 From: ash-iir <254348575+ash-iir@users.noreply.github.com> Date: Thu, 19 Nov 2026 11:47:13 +0000 Subject: [PATCH] webui: indent the adb tree on the reading side The /data/adb browser indented nested rows with paddingLeft, which is the trailing side in RTL languages. Use paddingInlineStart. Signed-off-by: ash-iir <254348575+ash-iir@users.noreply.github.com> --- module/webroot/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/webroot/scripts.js b/module/webroot/scripts.js index 9532a0a..de8f663 100644 --- a/module/webroot/scripts.js +++ b/module/webroot/scripts.js @@ -2578,7 +2578,7 @@ function adbRender() { adbUpdateSel(); } function adbRowEl(n) { - var row = el("div", "adb-row"); row.style.paddingLeft = (10 + n.depth * 16) + "px"; + var row = el("div", "adb-row"); row.style.paddingInlineStart = (10 + n.depth * 16) + "px"; var branch = n.type === "dir" && n.hasKids; var tw = el("span", "adb-twisty" + (branch ? "" : " leaf"), n.expanded ? "▾" : "▸"); if (branch) tw.onclick = function (e) { e.stopPropagation(); adbToggle(n); };