@@ -201,7 +201,6 @@ const indexTable = computed(() => {
201
201
dataIndex: ' aliases' ,
202
202
key: ' aliases' ,
203
203
resizable: true ,
204
- ellipsis: { tooltip: true },
205
204
render : ({ aliases }: { aliases: Array <ClusterAlias > }) =>
206
205
aliases .map (alias =>
207
206
h (
@@ -212,6 +211,7 @@ const indexTable = computed(() => {
212
211
tertiary: true ,
213
212
size: ' small' ,
214
213
iconPlacement: ' left' ,
214
+ style: ' margin: 2px' ,
215
215
},
216
216
{
217
217
default : () => ` ${alias .alias } ` ,
@@ -308,7 +308,7 @@ const indexTable = computed(() => {
308
308
const templateTable = computed (() => {
309
309
const columns = [
310
310
{
311
- title: ' Template Name' ,
311
+ title: ' Name' ,
312
312
dataIndex: ' name' ,
313
313
key: ' name' ,
314
314
... filterProps (' name' ),
@@ -325,24 +325,31 @@ const templateTable = computed(() => {
325
325
title: ' Included In' ,
326
326
dataIndex: ' included_in' ,
327
327
key: ' included_in' ,
328
+ resizable: true ,
328
329
render : ({ included_in }: { included_in: Array <string > }) =>
329
- included_in ?.map (included => h (NTag , null , { default : () => included })),
330
+ included_in ?.map (included =>
331
+ h (NTag , { style: ' margin: 2px' }, { default : () => included }),
332
+ ),
330
333
},
331
334
{
332
335
title: ' Index Patterns' ,
333
336
dataIndex: ' index_patterns' ,
334
337
key: ' index_patterns' ,
335
- ellipsis: { tooltip: true } ,
338
+ resizable: true ,
336
339
render : ({ index_patterns }: { index_patterns: Array <string > }) =>
337
- index_patterns ?.map (pattern => h (NTag , null , { default : () => pattern })),
340
+ index_patterns ?.map (pattern =>
341
+ h (NTag , { style: ' margin: 2px' }, { default : () => pattern }),
342
+ ),
338
343
},
339
344
{
340
345
title: ' Composed Of' ,
341
346
dataIndex: ' composed_of' ,
342
347
key: ' composed_of' ,
343
- ellipsis: { tooltip: true } ,
348
+ resizable: true ,
344
349
render : ({ composed_of }: { composed_of: Array <string > }) =>
345
- composed_of ?.map (composed => h (NTag , null , { default : () => composed })),
350
+ composed_of ?.map (composed =>
351
+ h (NTag , { style: ' margin: 2px' }, { default : () => composed }),
352
+ ),
346
353
},
347
354
];
348
355
@@ -494,16 +501,6 @@ onMounted(async () => {
494
501
width : 500px ;
495
502
}
496
503
497
- :deep (.n-tabs-wrapper ) {
498
- .n- tabs- tab- wrapper {
499
- background-color : var (--bg-color );
500
-
501
- .n-tabs-tab--active {
502
- background-color : var (--bg-color-secondary );
503
- }
504
- }
505
- }
506
-
507
504
:deep (.n-tabs-pane-wrapper ) {
508
505
width : 100% ;
509
506
height : 100% ;
@@ -512,5 +509,9 @@ onMounted(async () => {
512
509
:deep(.n-tab-pane ) {
513
510
padding : 0 ;
514
511
}
512
+
513
+ :deep(.n-data-table-th__title ) {
514
+ white-space : nowrap ;
515
+ }
515
516
}
516
517
</style >
0 commit comments