@@ -71,16 +71,16 @@ const Row = memo(({ index, style, data }: RowProps) => {
71
71
className = "border-b border-gray-200 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-blue-500"
72
72
tabIndex = { 0 }
73
73
>
74
- < div role = "cell" className = "flex-1 min-w-[200px] p-2" > { user . displayName } </ div >
75
- < div role = "cell" className = "flex-1 min-w-[200px ] p-2" > { user . userPrincipalName } </ div >
76
- < div role = "cell" className = "flex-1 min-w-[250px] p-2" > { user . department } </ div > { /* Increased min-width */ }
77
- < div role = "cell" className = "w-[120px] text-right p-2" > { formatter . format ( user . totalMonthlyCost ?? 0 ) } </ div >
78
- < div role = "cell" className = "w-[120px] text-right p-2" > { formatter . format ( user . totalAnnualCost ?? 0 ) } </ div >
74
+ < div role = "cell" className = "flex-1 min-w-[200px] p-2 border-r border-gray-200 dark:border-gray-700 " > { user . displayName } </ div >
75
+ < div role = "cell" className = "flex-1 min-w-[250px ] p-2 border-r border-gray-200 dark:border-gray-700 " > { user . userPrincipalName } </ div > { /* Increased min-width */ }
76
+ < div role = "cell" className = "flex-1 min-w-[250px] p-2 border-r border-gray-200 dark:border-gray-700 " > { user . department } </ div > { /* Increased min-width */ }
77
+ < div role = "cell" className = "w-[120px] text-right p-2 border-r border-gray-200 dark:border-gray-700 " > { formatter . format ( user . totalMonthlyCost ?? 0 ) } </ div >
78
+ < div role = "cell" className = "w-[120px] text-right p-2 border-r border-gray-200 dark:border-gray-700 " > { formatter . format ( user . totalAnnualCost ?? 0 ) } </ div >
79
79
{ licenseColumns . map ( ( license ) => (
80
80
< div
81
81
key = { license . key }
82
82
role = "cell"
83
- className = "w-[80px] text-center p-2"
83
+ className = "w-[80px] text-center p-2 border-r border-gray-200 dark:border-gray-700 "
84
84
>
85
85
{ user . licenses . some ( l => l . productName === license . name ) ? '✓' : '' }
86
86
</ div >
@@ -110,7 +110,7 @@ const TableHeader = memo(({ licenseColumns, sortState, onSort }: TableHeaderProp
110
110
< div
111
111
onClick = { ( ) => handleSort ( 'displayName' ) }
112
112
className = { cn (
113
- "flex-1 min-w-[200px] p-2 cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700" ,
113
+ "flex-1 min-w-[200px] p-2 cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700 border-r border-gray-200 dark:border-gray-700 " ,
114
114
sortState . column === 'displayName' && 'bg-blue-50 dark:bg-blue-900'
115
115
) }
116
116
>
@@ -120,7 +120,7 @@ const TableHeader = memo(({ licenseColumns, sortState, onSort }: TableHeaderProp
120
120
< div
121
121
onClick = { ( ) => handleSort ( 'userPrincipalName' ) }
122
122
className = { cn (
123
- "flex-1 min-w-[200px ] p-2 cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700" ,
123
+ "flex-1 min-w-[250px ] p-2 cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700 border-r border-gray-200 dark:border-gray-700" , // Increased min-width
124
124
sortState . column === 'userPrincipalName' && 'bg-blue-50 dark:bg-blue-900'
125
125
) }
126
126
>
@@ -130,7 +130,7 @@ const TableHeader = memo(({ licenseColumns, sortState, onSort }: TableHeaderProp
130
130
< div
131
131
onClick = { ( ) => handleSort ( 'department' ) }
132
132
className = { cn (
133
- "flex-1 min-w-[250px] p-2 cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700" , // Increased min-width
133
+ "flex-1 min-w-[250px] p-2 cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700 border-r border-gray-200 dark:border-gray-700 " , // Increased min-width
134
134
sortState . column === 'department' && 'bg-blue-50 dark:bg-blue-900'
135
135
) }
136
136
>
@@ -140,7 +140,7 @@ const TableHeader = memo(({ licenseColumns, sortState, onSort }: TableHeaderProp
140
140
< div
141
141
onClick = { ( ) => handleSort ( 'totalMonthlyCost' ) }
142
142
className = { cn (
143
- "w-[120px] p-2 cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700" ,
143
+ "w-[120px] p-2 cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700 border-r border-gray-200 dark:border-gray-700 " ,
144
144
sortState . column === 'totalMonthlyCost' && 'bg-blue-50 dark:bg-blue-900'
145
145
) }
146
146
>
@@ -150,7 +150,7 @@ const TableHeader = memo(({ licenseColumns, sortState, onSort }: TableHeaderProp
150
150
< div
151
151
onClick = { ( ) => handleSort ( 'totalAnnualCost' ) }
152
152
className = { cn (
153
- "w-[120px] p-2 cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700" ,
153
+ "w-[120px] p-2 cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700 border-r border-gray-200 dark:border-gray-700 " ,
154
154
sortState . column === 'totalAnnualCost' && 'bg-blue-50 dark:bg-blue-900'
155
155
) }
156
156
>
@@ -160,7 +160,7 @@ const TableHeader = memo(({ licenseColumns, sortState, onSort }: TableHeaderProp
160
160
{ licenseColumns . map ( ( license : any ) => (
161
161
< div
162
162
key = { license . key }
163
- className = "w-[80px] p-2 text-center"
163
+ className = "w-[80px] p-2 text-center border-r border-gray-200 dark:border-gray-700 "
164
164
title = { `${ license . name } ` }
165
165
>
166
166
{ license . name }
0 commit comments