Merge pull request #11975 from dataease/pr@dev-v2@style_platform

style(系统设置): 平台设置按钮之间间距
This commit is contained in:
fit2cloud-chenyw 2024-09-03 17:45:41 +08:00 committed by GitHub
commit 018da0b818
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,7 +27,9 @@
</div>
<div class="info-item-content">
<div class="info-item-pwd" v-if="item.type === 'pwd'">
<span>{{ pwdItem[item.pkey]['hidden'] ? '********' : item.pval }}</span>
<span class="info-item-pwd-span">{{
pwdItem[item.pkey]['hidden'] ? '********' : item.pval
}}</span>
<el-tooltip
v-if="props.copyList.includes(item.pkey)"
@ -255,12 +257,18 @@ formatLabel()
.info-item-pwd {
height: 22px;
line-height: 22px;
width: 100%;
display: flex;
align-items: center;
i {
margin-left: 2px;
}
.info-item-pwd-span {
max-width: calc(100% - 84px);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
}
}
}