Skip to content

Commit 8d9704d

Browse files
committed
feat(tasks): improve style
1 parent a5b67d8 commit 8d9704d

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

web/src/components/TaskLogView.vue

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,17 @@
2525
class="overflow-auto text-no-wrap px-5 task-log-view__status"
2626
>
2727
<TaskStatus :status="item.status" data-testid="task-status" />
28-
<span class="ml-3 hidden-xs-only">
28+
29+
<span class="ml-3 hidden-xs-only task-log-view__status_part">
2930

3031
Started <span v-if="user">by <b>{{ user.name }}</b></span>
3132

3233
at <b>{{ item.start | formatDate }}</b>
34+
</span>
35+
36+
<span class="ml-3 hidden-sm-and-down task-log-view__status_part">
3337
<v-icon
34-
class="ml-6" small style="transform: translateY(-1px)">mdi-clock-outline</v-icon>
38+
small style="transform: translateY(-1px)">mdi-clock-outline</v-icon>
3539
{{ [item.start, item.end] | formatMilliseconds }}
3640
</span>
3741
</div>
@@ -157,6 +161,12 @@ $task-log-status-tab-height:
157161
margin-bottom: $task-log-status-offset;
158162
}
159163
164+
.task-log-view__status_part {
165+
padding: 6px 10px;
166+
border-radius: 6px;
167+
background-color: var(--highlighted-card-bg-color);
168+
}
169+
160170
.task-log-view__tabs {
161171
height: $task-log-tabs-height;
162172
}

0 commit comments

Comments
 (0)