@@ -201,7 +201,6 @@ const indexTable = computed(() => {
201201 dataIndex: ' aliases' ,
202202 key: ' aliases' ,
203203 resizable: true ,
204- ellipsis: { tooltip: true },
205204 render : ({ aliases }: { aliases: Array <ClusterAlias > }) =>
206205 aliases .map (alias =>
207206 h (
@@ -212,6 +211,7 @@ const indexTable = computed(() => {
212211 tertiary: true ,
213212 size: ' small' ,
214213 iconPlacement: ' left' ,
214+ style: ' margin: 2px' ,
215215 },
216216 {
217217 default : () => ` ${alias .alias } ` ,
@@ -308,7 +308,7 @@ const indexTable = computed(() => {
308308const templateTable = computed (() => {
309309 const columns = [
310310 {
311- title: ' Template Name' ,
311+ title: ' Name' ,
312312 dataIndex: ' name' ,
313313 key: ' name' ,
314314 ... filterProps (' name' ),
@@ -325,24 +325,31 @@ const templateTable = computed(() => {
325325 title: ' Included In' ,
326326 dataIndex: ' included_in' ,
327327 key: ' included_in' ,
328+ resizable: true ,
328329 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+ ),
330333 },
331334 {
332335 title: ' Index Patterns' ,
333336 dataIndex: ' index_patterns' ,
334337 key: ' index_patterns' ,
335- ellipsis: { tooltip: true } ,
338+ resizable: true ,
336339 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+ ),
338343 },
339344 {
340345 title: ' Composed Of' ,
341346 dataIndex: ' composed_of' ,
342347 key: ' composed_of' ,
343- ellipsis: { tooltip: true } ,
348+ resizable: true ,
344349 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+ ),
346353 },
347354 ];
348355
@@ -494,16 +501,6 @@ onMounted(async () => {
494501 width : 500px ;
495502 }
496503
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-
507504 :deep (.n-tabs-pane-wrapper ) {
508505 width : 100% ;
509506 height : 100% ;
@@ -512,5 +509,9 @@ onMounted(async () => {
512509 :deep(.n-tab-pane ) {
513510 padding : 0 ;
514511 }
512+
513+ :deep(.n-data-table-th__title ) {
514+ white-space : nowrap ;
515+ }
515516}
516517 </style >
0 commit comments