Skip to content

Commit e46df64

Browse files
authored
Merge pull request TFNS#468 from markfijneman/0-minor-style-fixes
Minor style fixes
2 parents c3172df + a10a9a8 commit e46df64

File tree

4 files changed

+18
-9
lines changed

4 files changed

+18
-9
lines changed

front/src/components/CTF/Info.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
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">

front/src/components/Dialogs/SearchDialog.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
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: 4px">
27+
<q-list bordered separator class="rounded-borders overflow-hidden">
2828
<q-item
2929
v-for="(item, i) in items"
3030
:key="item.nodeId"

front/src/components/Task/TaskTableDense.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
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

front/src/pages/Team.vue

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
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 };

0 commit comments

Comments
 (0)