Skip to content

Commit

Permalink
Fixed: Card Style
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhaoJiSen committed Mar 4, 2025
1 parent 6ebc028 commit 4143c2d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
6 changes: 6 additions & 0 deletions src/components/Table/CardTable/DataCardTable/CardPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
15 changes: 7 additions & 8 deletions src/components/Table/CardTable/DataCardTable/InfoPanel.vue
Original file line number Diff line number Diff line change
@@ -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>
Expand Down Expand Up @@ -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;
}
}
Expand Down
4 changes: 0 additions & 4 deletions src/views/assets/Cloud/Account/components/CreateDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 4143c2d

Please sign in to comment.