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 { .panel-image {
margin: auto 5px; margin: auto 5px;
} }
.panel-info {
display: flex;
flex-direction: column;
justify-content: space-between;
}
} }
.el-divider--horizontal { .el-divider--horizontal {

View File

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

View File

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