From adbf9d51b620ee381089f5030c5ee41372e15464 Mon Sep 17 00:00:00 2001 From: Praveena Hennadige Date: Fri, 17 Jul 2026 10:28:55 +0530 Subject: [PATCH] Fix Policies page layout breaking with long resource paths --- .../app/components/Apis/Details/Policies/OperationsGroup.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/portals/publisher/src/main/webapp/source/src/app/components/Apis/Details/Policies/OperationsGroup.tsx b/portals/publisher/src/main/webapp/source/src/app/components/Apis/Details/Policies/OperationsGroup.tsx index cbf7c3ae507..29c891eb8a3 100644 --- a/portals/publisher/src/main/webapp/source/src/app/components/Apis/Details/Policies/OperationsGroup.tsx +++ b/portals/publisher/src/main/webapp/source/src/app/components/Apis/Details/Policies/OperationsGroup.tsx @@ -34,12 +34,13 @@ const StyledBox = styled(Box)(( } ) => ({ [`& .${classes.tagClass}`]: { - maxWidth: 1000, + minWidth: 0, + maxWidth: 550, overflow: 'hidden', whiteSpace: 'nowrap', textOverflow: 'ellipsis', [theme.breakpoints.down('lg')]: { - maxWidth: 800, + maxWidth: 400, }, } }));