Skip to content

Commit 1a65fe8

Browse files
committed
fix(ui): task view spaces
1 parent a1d4f24 commit 1a65fe8

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

web/src/App.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
:expandable="true"
6262
name="TaskLogDialog"
6363
@close="onTaskLogDialogClosed()"
64+
no-body-paddings
6465
>
6566
<template v-slot:title={}>
6667
<div class="text-truncate" style="max-width: calc(100% - 36px);">

web/src/components/EditDialog.vue

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,13 @@ Can use used in tandem with ItemFormBase.js. See KeyForm.vue for example.
4040
</v-btn>
4141
</v-card-title>
4242

43-
<v-card-text :class="{'pb-0': !hideButtons}" :style="{minHeight: minContentHeight + 'px'}">
43+
<v-card-text
44+
:class="{
45+
'pb-0': !hideButtons,
46+
'pa-0': noBodyPaddings,
47+
}"
48+
:style="{minHeight: minContentHeight + 'px'}"
49+
>
4450
<slot
4551
name="form"
4652
:onSave="onSave"
@@ -105,6 +111,7 @@ export default {
105111
default: 'Unnamed',
106112
},
107113
helpButton: Boolean,
114+
noBodyPaddings: Boolean,
108115
},
109116
110117
data() {

web/src/components/TaskLogView.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
:class="{'task-log-view--with-message': item.message || item.commit_message}"
55
>
66

7-
<div class="overflow-auto text-no-wrap">
7+
<div class="overflow-auto text-no-wrap px-5">
88
<v-alert
99
dense
1010
class="d-inline-block mb-2 mr-2"
@@ -26,7 +26,7 @@
2626
</v-alert>
2727
</div>
2828

29-
<v-container fluid class="pa-0 mb-2 overflow-auto">
29+
<v-container fluid class="py-0 px-5 mb-2 overflow-auto">
3030
<v-row no-gutters class="flex-nowrap">
3131
<v-col>
3232
<v-list two-line subheader class="pa-0">
@@ -138,7 +138,7 @@ $task-log-message-height: 48px;
138138
height: calc(100vh - 280px);
139139
overflow: auto;
140140
font-family: monospace;
141-
margin: 0 -24px;
141+
margin: 0;
142142
padding: 5px 10px 50px;
143143
}
144144

0 commit comments

Comments
 (0)