fix: 关联账号列表单选框
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m34s

This commit is contained in:
sexygoat
2026-04-11 17:04:50 +08:00
parent 4f02d6faf0
commit 1acb9db38e

View File

@@ -797,38 +797,38 @@
display: flex;
flex-direction: column;
gap: 8px;
width: 100%;
.role-item {
display: block;
width: 100%;
padding: 10px 12px;
border: 1px solid var(--el-border-color-lighter);
border-radius: 4px;
transition: all 0.2s;
box-sizing: border-box;
&:hover {
background: var(--el-fill-color-light);
border-color: var(--el-border-color);
}
:deep(.el-checkbox) {
.role-info {
display: flex;
flex: 1;
gap: 8px;
align-items: center;
}
:deep(.el-checkbox),
:deep(.el-radio) {
display: flex;
width: 100%;
.el-checkbox__label {
.el-checkbox__label,
.el-radio__label {
display: flex;
width: 100%;
.role-info {
display: flex;
flex: 1;
gap: 8px;
align-items: center;
justify-content: space-between;
width: 100%;
> span:first-child {
flex: 1;
min-width: 0;
}
}
}
}
}
@@ -840,19 +840,7 @@
justify-content: space-between;
.role-info {
display: flex;
flex: 1;
gap: 8px;
align-items: center;
justify-content: space-between;
> span:first-child {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.el-button {