💄 (step record) do not show blob in break time

This commit is contained in:
Julien Calixte
2023-04-17 23:05:28 +02:00
parent 036eabcfe3
commit 7e91a5c1ee

View File

@@ -56,7 +56,15 @@ const isSuperiorToEstimation = computed(() => {
<tr v-if="step" class="step-record">
<td class="td-rank">
<div class="rank">
<div v-if="isCurrentStep" class="blob green"></div>
<template v-if="isCurrentStep">
<img
v-show="record?.breakTime"
src="/icons/pause.svg"
alt="in pause"
class="in-pause"
/>
<div v-show="!record?.breakTime" class="blob green"></div>
</template>
<span v-else>
{{ stepNumber }}
</span>
@@ -82,6 +90,11 @@ const isSuperiorToEstimation = computed(() => {
$blob-size: 15px;
$blob-color: $link;
.in-pause {
height: $blob-size;
width: $blob-size;
}
.step-record {
.status {
text-align: center;