mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-25 14:25:23 +00:00
Fixed: Card Style
This commit is contained in:
@@ -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 {
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user