Skip to content

Commit

Permalink
#470: Remove inline CSS, because there is no study status "inline".
Browse files Browse the repository at this point in the history
  • Loading branch information
benitsch committed Jun 27, 2024
1 parent 4d3fad6 commit b0de40f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/dialog/ChangeStudyStatusDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Licensed under the Elastic License 2.0. */
</h3>
<h5 class="mb-7 text-lg font-medium">
{{ $t('study.statusChange.labels.changeFrom') }}
<StudyStatusPill :status="study.status!" />
<StudyStatusPill :status="study.status as StudyStatus" />
{{ $t('global.labels.to') }}
<StudyStatusPill :status="changedStatus" />
</h5>
Expand Down
6 changes: 0 additions & 6 deletions src/components/study/StudyStatusPill.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,5 @@
border-color: var(--gray-400);
color: var(--gray-400);
}
&.inline {
padding: 0.313rem;
border-radius: 0.25rem;
font-size: 1.5rem;
}
}
</style>

0 comments on commit b0de40f

Please sign in to comment.