From b12e8916824273eefb85f0bb498d4991e8c66d5e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 19 Mar 2026 10:50:14 +0000 Subject: [PATCH] fix(ui): improve devices page table layout to prevent horizontal scrolling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Widen page container from max-w-4xl (896px) to max-w-6xl (1152px) - Convert action buttons (Revoke/Reactivate/Delete) to icon-only (44×44px) with aria-label and title tooltip for accessibility - Reduce table cell padding from px-6 py-4 to px-4 py-3 Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com> --- frontend/templates/devices.html | 115 ++++++++++++++++---------------- 1 file changed, 57 insertions(+), 58 deletions(-) diff --git a/frontend/templates/devices.html b/frontend/templates/devices.html index 498fd486..b640d950 100644 --- a/frontend/templates/devices.html +++ b/frontend/templates/devices.html @@ -3,7 +3,7 @@ {% block title %}{{ _("devices.page_title") }}{% endblock %} {% block content %} -
| {{ _("devices.col_device") }} | -{{ _("devices.col_token_prefix") }} | -{{ _("devices.col_created") }} | -{{ _("devices.col_last_used") }} | -{{ _("devices.col_status") }} | -{{ _("common.actions") }} | +{{ _("devices.col_device") }} | +{{ _("devices.col_token_prefix") }} | +{{ _("devices.col_created") }} | +{{ _("devices.col_last_used") }} | +{{ _("devices.col_status") }} | +{{ _("common.actions") }} |
|---|---|---|---|---|---|---|---|---|---|---|---|
| + |
|
- + |
|
- - | + | + | - | + | - | - - - - - - + |
+
+
+
+
+
+
+
+
|