fix(V0.2): 智能截断去尾部标点; 看板左列收窄; 项目头像三处统一
Docker Build and Push / build-image (push) Successful in 1m7s
Docker Build and Push / build-image (push) Successful in 1m7s
- splitTitle: 截断后用 \p{P} 去掉标题尾部连续分隔符 (原字符类重组有
转义坑, 换 Unicode 属性类)
- 看板卡片左列 (状态点+⋯) 收窄至 14px 并负外距悬进卡片内边距
- 项目头像统一: 新增 .pavatar 基类与 projectIcon.colorOfProject,
项目管理预览改用同配色/同圆角/居中首字, 修复灰底与文字歪斜
This commit is contained in:
+10
-1
@@ -985,6 +985,12 @@ body.me-safe-top .app-safe-top { height: 0; }
|
||||
width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center;
|
||||
justify-content: center; color: #fff; font-size: 14px; font-weight: 700; flex-shrink: 0;
|
||||
}
|
||||
/* 项目头像基类 (不依赖 .proj-item 作用域): 项目管理编辑页预览等裸用场景 */
|
||||
.pavatar {
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
color: #fff; font-weight: 700; flex-shrink: 0;
|
||||
background-size: cover; background-position: center; background-repeat: no-repeat;
|
||||
}
|
||||
.proj-item .pmain { flex: 1; min-width: 0; }
|
||||
.proj-item .ptitle {
|
||||
font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 6px;
|
||||
@@ -1085,11 +1091,14 @@ body.me-safe-top .app-safe-top { height: 0; }
|
||||
box-shadow: 0 1px 2px rgba(0,0,0,.05); cursor: pointer; flex-shrink: 0;
|
||||
display: flex; gap: 7px; align-items: flex-start;
|
||||
}
|
||||
/* 左侧竖排操作列: 状态点在上, ⋯ 沉到左下角 */
|
||||
/* 左侧竖排操作列: 状态点在上, ⋯ 沉到左下角; 负外距悬进卡片内边距, 少占横向空间 */
|
||||
.bcard-left {
|
||||
display: flex; flex-direction: column; align-items: center; flex-shrink: 0;
|
||||
align-self: stretch; justify-content: space-between; padding: 1px 0 2px;
|
||||
margin: 0 -5px; width: 14px;
|
||||
}
|
||||
.bcard-left .bstat { padding: 0; }
|
||||
.bcard-left .bmore-btn { font-size: 12px; padding: 0; line-height: 1.1; }
|
||||
.bcard-body { flex: 1; min-width: 0; }
|
||||
.bcard.hl { outline: 2px solid var(--color-primary); outline-offset: 1px; }
|
||||
.brow1 { display: flex; align-items: flex-start; gap: 6px; }
|
||||
|
||||
Reference in New Issue
Block a user