Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 29 additions & 9 deletions web/server/vue-cli/src/components/Report/ReportStepMessage.vue
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
<template>
<v-chip
<v-card
size="small"
variant="flat"
class="report-step-msg"
class="report-step-msg px-2"
:color="color"
:step-id="id"
:type="type"
:style="{ 'margin-left': marginLeft, color: textColor }"
:title="value"
rounded="xs"
>
<div class="d-flex align-center ga-2">
<v-card-text class="pa-0 d-flex align-center">
<report-step-enum-icon
class="report-step-enum mr-1"
:type="type"
Expand All @@ -26,9 +25,14 @@
@click="showPrevReport"
/>

<div>
<div>{{ value }}</div>
<div v-if="!hideDocUrl && type === 'error'">
<div class="flex-grow-1 flex-shrink-1 mx-3" style="min-width: 0;">
<div class="text-body-2 text-wrap text-break">
{{ value }}
</div>
<div
v-if="!hideDocUrl && type === 'error'"
class="text-caption"
>
<p v-if="docUrl" class="mb-0 text-caption">
For more information see the
<a
Expand Down Expand Up @@ -56,8 +60,8 @@
density="compact"
@click="showNextReport"
/>
</div>
</v-chip>
</v-card-text>
</v-card>
</template>

<script setup>
Expand Down Expand Up @@ -156,4 +160,20 @@ function showDocumentation() {
opacity: 1;
font-weight: bold;
}

.current[type="error"] {
border: 2px dashed #a94442 !important;
}

.current[type="fixit"] {
border: 2px dashed #8a6d3b !important;
}

.current[type="macro"] {
border: 2px dashed #4f5c6d !important;
}

.current[type="note"] {
border: 2px dashed #4f5c6d !important;
}
</style>
Loading