File tree Expand file tree Collapse file tree 4 files changed +18
-9
lines changed
Expand file tree Collapse file tree 4 files changed +18
-9
lines changed Original file line number Diff line number Diff line change 7171 <q-space />
7272 </div >
7373
74- <div class =" row q-gutter-md " >
74+ <div class =" row" >
7575 <div class =" col" >
7676 <div class =" q-gutter-sm" >
7777 <div class =" row q-gutter-md q-pl-sm" >
Original file line number Diff line number Diff line change 2424 </q-card-section >
2525
2626 <q-card-section v-if =" !!items.length" class =" q-pt-none" >
27- <q-list bordered separator style = " border-radius : 4 px " >
27+ <q-list bordered separator class = " rounded-borders overflow-hidden " >
2828 <q-item
2929 v-for =" (item, i) in items"
3030 :key =" item.nodeId"
Original file line number Diff line number Diff line change 88 dense
99 >
1010 <template #body =" props " >
11- <q-tr v-show =" isTaskVisible(props.row)" :props =" props" >
11+ <q-tr
12+ v-show =" isTaskVisible(props.row)"
13+ style =" height : 45px "
14+ :props =" props"
15+ >
1216 <task-menu :task =" props.row" :context-menu =" true" />
1317
1418 <q-td
Original file line number Diff line number Diff line change 11<template >
22 <q-page class =" page q-pa-md" >
3- <q-card class = " " >
3+ <q-card >
44 <q-card-section >
55 <div class =" text-h6" >Team</div >
66 </q-card-section >
7+
78 <q-table
9+ flat
10+ dense
811 :columns =" columns"
912 :rows =" team"
1013 hide-pagination
1114 :pagination =" pagination"
1215 >
1316 <template #body-cell-username =" props " >
1417 <q-td key =" username" :props =" props" >
15- <user-badge :profile =" props.row" />
18+ <user-badge :profile =" props.row" class = " q-mx-none " />
1619 </q-td >
1720 </template >
1821 </q-table >
@@ -36,27 +39,29 @@ export default defineComponent({
3639 const columns = [
3740 {
3841 name: ' role' ,
42+ label: ' Role' ,
3943 sortable: true ,
4044 field: ' role' ,
41- headerStyle: ' max-width: 150px' ,
42- style: ' text-transform: capitalize; width: 150px;' ,
43- label: ' role' ,
45+ style: ' width: 75px; max-width: 75px; text-transform: capitalize' ,
46+ align: ' left' ,
4447 format : (r : Role ) => r .slice (5 ).toLowerCase (),
4548 },
4649 {
4750 name: ' username' ,
4851 headerStyle: ' col-auto' ,
49- style: ' width: 300px;' ,
5052 size: ' auto' ,
5153 sortable: true ,
5254 field: ' username' ,
5355 label: ' Username' ,
56+ style: ' width: 165px; max-width: 165px' ,
57+ align: ' left' ,
5458 },
5559 {
5660 name: ' description' ,
5761 field: ' description' ,
5862 sortable: true ,
5963 label: ' Description' ,
64+ align: ' left' ,
6065 },
6166 ];
6267 return { team , columns , pagination };
You can’t perform that action at this time.
0 commit comments