Fixed: Card Style

This commit is contained in:
zhaojisen
2025-03-04 15:01:45 +08:00
committed by ZhaoJiSen
parent 6ebc02825e
commit 4143c2dfbe
3 changed files with 13 additions and 12 deletions

View File

@@ -169,6 +169,12 @@ export default {
.panel-image {
margin: auto 5px;
}
.panel-info {
display: flex;
flex-direction: column;
justify-content: space-between;
}
}
.el-divider--horizontal {

View File

@@ -1,6 +1,6 @@
<template>
<div class="panel-item">
<span class="item-label">{{ title }} </span>
<span class="item-label">{{ title }}: </span>
<span :title="content" class="text-info">{{ content || '' }}</span>
</div>
</template>
@@ -35,22 +35,21 @@ export default {
}
.panel-item {
display: flex;
flex-wrap: nowrap;
text-align: left;
padding: 3px 0;
line-height: 20px;
.item-label {
text-align: left;
display: inline-block;
width: 35%;
}
.item-label::after {
content: ':';
margin-left: 1px;
display: flex;
flex: 1;
min-width: 110px;
}
.text-info {
flex: 2;
@include textOverflow;
}
}

View File

@@ -118,10 +118,6 @@ export default {
&.is-process {
color: var(--color-primary);
.el-step__line {
background-color: var(--color-primary);
}
.el-step__icon {
border-color: var(--color-primary);
}