feat(title): 标题预设卡片改紧凑正方形T图标——6列网格/删除文字标签/清理死样式
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (pull_request) Successful in 1s
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 1s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Successful in 3m31s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 3m57s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Successful in 4m45s
CI/CD Pipeline / PR Build Web Image (pull_request) Successful in 4m47s
AI Code Review / AI Code Review (pull_request) Successful in 5m31s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 5m37s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 5m47s
CI/CD Pipeline / Validate - Style (pull_request) Successful in 6m3s
CI/CD Pipeline / Validate - Python (mypy + alembic) (pull_request) Successful in 6m23s
CI/CD Pipeline / Validate - Security (pull_request) Successful in 6m27s
CI/CD Pipeline / CI Gate (pull_request) Successful in 2s
ACR Cleanup / ACR Image Cleanup (pull_request_target) Successful in 4m3s
Preview Cleanup / Cleanup Preview Environment (pull_request) Successful in 5m22s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 373h53m53s
CI/CD Pipeline / Canary Release to Production (pull_request) Failing after 373h53m55s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 373h53m55s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 373h54m2s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 373h54m6s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 374h0m43s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 374h0m44s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 374h0m46s
CI/CD Pipeline / Retag skipped Staging Web Image (pull_request) Failing after 374h0m59s
CI/CD Pipeline / Retag skipped Staging API Image (pull_request) Failing after 374h0m59s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 374h1m3s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 374h1m3s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 374h1m5s
CI/CD Pipeline / PR Build Worker Image (pull_request) Failing after 374h1m3s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 374h1m5s
CI/CD Pipeline / Check push changed paths (pull_request) Failing after 374h1m8s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 374h28m20s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 374h34m59s
CI/CD Pipeline / Retag skipped Staging Worker Image (pull_request) Failing after 374h35m15s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 374h35m17s
CI/CD Pipeline / PR Build API Image (pull_request) Failing after 374h35m21s

This commit is contained in:
xiaoxia
2026-09-01 01:23:55 +08:00
parent 41fdd7e066
commit 435aa53113
2 changed files with 6 additions and 17 deletions
@@ -38,9 +38,8 @@ const TitlePresetsGrid: React.FC<TitlePresetsGridProps> = ({
className="xx-title-preset-preview-text"
style={{ ...p.previewStyle, fontFamily: getFontFamily(fontFamily || "思源黑体") }}
>
标题
T
</span>
<span className="xx-title-preset-card-label">{p.label}</span>
</button>
)
})}
+5 -15
View File
@@ -1733,8 +1733,8 @@
/* 标题预设卡片网格 */
.xx-title-presets-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
grid-template-columns: repeat(6, 1fr);
gap: 8px;
}
.xx-title-preset-card {
@@ -1742,7 +1742,8 @@
flex-direction: column;
align-items: center;
justify-content: center;
padding: 14px 8px;
aspect-ratio: 1 / 1;
padding: 4px;
background: var(--bg-secondary);
border: 2px solid transparent;
border-radius: var(--radius-sm);
@@ -1762,21 +1763,10 @@
}
.xx-title-preset-preview-text {
line-height: 1.4;
margin-bottom: 6px;
line-height: 1;
user-select: none;
}
.xx-title-preset-card-label {
font-size: 11px;
color: var(--text-secondary);
}
.xx-title-preset-card.active .xx-title-preset-card-label {
color: var(--primary-color);
font-weight: 500;
}
/* 样式按钮组 */
.xx-style-btns {
display: flex;