Skip to content

Commit

Permalink
Make the 'tender insight' page buttons spacing consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
ibm-work committed Feb 26, 2025
1 parent c363b9f commit 0f5b8a0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/views/BidPlanner/components/TenderAnalysis.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,8 @@ const TenderAnalysis = ({ canUserEdit }) => {
<TabsList
ref={tabsRef}
className={cn(
"w-full justify-start border-b border-gray-line h-auto py-0 px-0 rounded-none"
"w-full justify-start border-b border-gray-line h-auto py-0 px-0 rounded-none grid",
`grid-cols-${tabs.length}`
)}
>
{tabs.map((tab, index) => {
Expand All @@ -634,7 +635,8 @@ const TenderAnalysis = ({ canUserEdit }) => {
value={index.toString()}
onClick={() => handleTabClick(index)}
className={cn(
"relative flex items-center gap-2 px-6 py-3 data-[state=active]:text-orange bg-transparent"
"relative flex items-center justify-center gap-2 px-6 py-3 data-[state=active]:text-orange bg-transparent w-full min-w-0",
"min-w-0"
)}
disabled={loadingTab !== null && loadingTab !== index}
>
Expand Down

0 comments on commit 0f5b8a0

Please sign in to comment.