fix: 优化服务公司名称首列布局 (#1097)

修复公司名称竖向换行和行高异常。
This commit is contained in:
DoDo 2026-11-11 17:51:35 +08:00
parent 00728c5212
commit 9bd3778c8f

View File

@ -281,13 +281,13 @@
}
.svc-table--companies {
min-width: 1250px;
min-width: 1300px;
table-layout: fixed;
}
.svc-table--companies th:nth-child(1),
.svc-table--companies td:nth-child(1) {
width: 190px;
width: 240px;
}
.svc-table--companies th:nth-child(2),
@ -385,16 +385,17 @@
}
.svc-company-link {
display: inline-flex;
max-width: 100%;
display: flex;
width: 100%;
align-items: center;
gap: 6px;
padding: 0;
border: 0;
background: transparent;
color: var(--svc-accent-dark);
font-size: 12px;
font-size: 12.5px;
font-weight: 500;
line-height: 1.45;
text-align: left;
text-decoration: none;
}
@ -408,6 +409,10 @@
.svc-company-link .material-icons-outlined {
flex: 0 0 14px;
width: 14px;
min-width: 14px;
max-width: 14px;
overflow: hidden;
font-size: 14px;
}
@ -571,8 +576,10 @@
}
.svc-company-link span:first-child {
flex: 1;
min-width: 0;
overflow-wrap: anywhere;
overflow-wrap: break-word;
word-break: normal;
}
.svc-field input,