Skip to content

Commit 5b0ccda

Browse files
authored
Added label to Reaction Card for Mined data (#159)
1 parent eefb054 commit 5b0ccda

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

app/src/components/ReactionCard.vue

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ export default {
111111
@change='$emit("clickedSelect", $event)'
112112
)
113113
label(:for='"select_"+reaction.reaction_id') Select reaction
114+
.is-mined(v-if='reaction.data.provenance.isMined')
115+
.is-mined-badge Mined
114116
.reaction-table(
115117
v-html='reactionTable'
116118
v-if='reactionTable'
@@ -166,6 +168,16 @@ export default {
166168
.reaction-table
167169
color: black
168170
overflow-x: wrap
171+
.is-mined
172+
display: flex
173+
flex-direction: row-reverse
174+
.is-mined-badge
175+
text-align: center
176+
border-radius: 5px
177+
background-color: #0d6efd
178+
color: #fff
179+
font-size: 0.8rem
180+
width: 60px
169181
.info
170182
display: grid
171183
grid-template-columns: repeat(2, 50%)

0 commit comments

Comments
 (0)