From 2b4460622e9fecc276fd79afc77a9482f8e2ed8a Mon Sep 17 00:00:00 2001 From: janeza2 Date: Mon, 22 Jun 2026 01:44:11 +0700 Subject: [PATCH 1/2] fix(dashboard): make API Manager table responsive on mobile The registered API keys table on /dashboard/api-manager was unusable on small screens: the 12-column grid collapsed and squeezed content, action icons (view costs, regenerate, permissions, delete) were hidden behind hover which doesn't exist on touch, and there was no horizontal scroll. - Wrap both key tables (normal + quota) in overflow-x-auto so they can be scrolled sideways instead of collapsing. - Add min-w-[760px] to header + row so columns keep their intended widths and the scroll is meaningful. - Switch all hover-gated icons (cost/regenerate/permissions/delete + the 'key only available at creation' info lock) to opacity-100 on mobile and keep the hover-reveal behavior on >=sm screens. Co-authored-by: Cursor --- .../api-manager/ApiManagerPageClient.tsx | 30 +++++++++++-------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/src/app/(dashboard)/dashboard/api-manager/ApiManagerPageClient.tsx b/src/app/(dashboard)/dashboard/api-manager/ApiManagerPageClient.tsx index b31e683d2c2d..35c6e785d142 100644 --- a/src/app/(dashboard)/dashboard/api-manager/ApiManagerPageClient.tsx +++ b/src/app/(dashboard)/dashboard/api-manager/ApiManagerPageClient.tsx @@ -918,7 +918,7 @@ export default function ApiManagerPageClient() { return (
) : ( lock @@ -1114,7 +1114,7 @@ export default function ApiManagerPageClient() {
@@ -1122,21 +1122,21 @@ export default function ApiManagerPageClient() {