Skip to content

Commit

Permalink
add left border for shared or trs workflows in WorkflowCard
Browse files Browse the repository at this point in the history
  • Loading branch information
itisAliRH committed Nov 9, 2023
1 parent 6eb22db commit 01b8e39
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions client/src/components/Workflow/WorkflowCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,10 @@ async function onTagsUpdate(tags: string[]) {
</script>

<template>
<div class="workflow-card">
<div class="workflow-card-container">
<div class="workflow-card" :data-workflow-id="workflow.id">
<div
class="workflow-card-container"
:class="{ 'workflow-shared-trs': !publishedView && (workflow.source_metadata || workflow.published) }">
<div>
<div class="d-flex justify-content-between align-items-center mb-1">
<div>
Expand Down Expand Up @@ -289,6 +291,10 @@ async function onTagsUpdate(tags: string[]) {
}
}
.workflow-shared-trs {
border-left: 0.25rem solid $brand-primary;
}
@container (max-width: 768px) {
.hide-in-card {
display: none !important;
Expand Down

0 comments on commit 01b8e39

Please sign in to comment.