From bbec62eafb14b12de30d15c151ea213cd2aa4674 Mon Sep 17 00:00:00 2001 From: Josef Schlehofer Date: Tue, 18 Aug 2026 08:13:24 +0200 Subject: [PATCH] luci-app-package-manager: make the per-row action button compact The bootstrap theme reserves 15% of the table width for the action cell, causing the single action button to stretch unnecessarily. Let the cell size to its content so the description gets more space while the action buttons remain aligned. Signed-off-by: Josef Schlehofer --- .../htdocs/luci-static/resources/view/package-manager.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/applications/luci-app-package-manager/htdocs/luci-static/resources/view/package-manager.js b/applications/luci-app-package-manager/htdocs/luci-static/resources/view/package-manager.js index 5272b843f2..eed37aeb64 100644 --- a/applications/luci-app-package-manager/htdocs/luci-static/resources/view/package-manager.js +++ b/applications/luci-app-package-manager/htdocs/luci-static/resources/view/package-manager.js @@ -51,6 +51,11 @@ const css = ' \ white-space: nowrap; \ } \ \ + /* bootstrap sets 15%; shrink */ \ + #packages .td.cbi-section-actions { \ + width: auto; \ + } \ + \ ul.deps, ul.deps ul, ul.errors { \ margin-left: 1em; \ } \