Skip to content

Commit c007ed7

Browse files
donnieanks-ci-bot
authored andcommitted
refactor: update column metadata in Extensions component for improved layout
Signed-off-by: donniean <donniean1@gmail.com>
1 parent 455ea37 commit c007ed7

File tree

1 file changed

+20
-0
lines changed
  • packages/core/src/containers/Extensions/Management/components/Extensions

1 file changed

+20
-0
lines changed

packages/core/src/containers/Extensions/Management/components/Extensions/Extensions.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,11 @@ export function Extensions() {
156156
{
157157
accessorKey: 'q',
158158
header: t('NAME'),
159+
meta: {
160+
th: {
161+
width: '50%',
162+
},
163+
},
159164
cell: ({ row }) => {
160165
const formattedExtension = row.original;
161166
const { name, displayIcon, localeDisplayName, localeDescription } = formattedExtension;
@@ -175,6 +180,11 @@ export function Extensions() {
175180
{
176181
accessorKey: 'status',
177182
header: t('INSTALLATION_STATUS'),
183+
meta: {
184+
th: {
185+
width: '10%',
186+
},
187+
},
178188
enableHiding: true,
179189
cell: ({ row }) => {
180190
const formattedExtension = row.original;
@@ -193,6 +203,11 @@ export function Extensions() {
193203
{
194204
accessorKey: 'installedVersion',
195205
header: t('VERSION'),
206+
meta: {
207+
th: {
208+
width: '10%',
209+
},
210+
},
196211
enableHiding: true,
197212
cell: ({ getValue }) => {
198213
const value = getValue();
@@ -202,6 +217,11 @@ export function Extensions() {
202217
{
203218
accessorKey: 'enabled',
204219
header: t('ENABLED_STATE'),
220+
meta: {
221+
th: {
222+
width: '10%',
223+
},
224+
},
205225
enableHiding: true,
206226
cell: ({ row }) => {
207227
const formattedExtension = row.original;

0 commit comments

Comments
 (0)