feat(title): 标题预设卡片改紧凑正方形T图标(工单#1263) (#1591)
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (push) Successful in 1s
CI/CD Pipeline / Validate - Python (mypy + alembic) (push) Failing after 1s
CI/CD Pipeline / Check push changed paths (push) Successful in 3s
CI/CD Pipeline / Build Staging Web Image (push) Successful in 4m20s
CI/CD Pipeline / Retag skipped Staging API Image (push) Successful in 1m52s
CI/CD Pipeline / Retag skipped Staging Worker Image (push) Successful in 1m55s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 6m27s
CI/CD Pipeline / Validate - Style (push) Successful in 7m29s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Successful in 1m21s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 8m9s
CI/CD Pipeline / Frontend Unit Tests (push) Successful in 9m36s
CI/CD Pipeline / Validate - Security (push) Successful in 9m45s
CI/CD Pipeline / Integration Tests (push) Successful in 10m10s
CI/CD Pipeline / ACR Image Cleanup (push) Successful in 2m24s
AI Code Review / AI Code Review (pull_request) Failing after 10m14s
CI/CD Pipeline / Staging API Integration Tests (push) Successful in 4m20s
CI/CD Pipeline / Staging E2E Tests (push) Successful in 4m58s
CI/CD Pipeline / Unit Tests (push) Successful in 16m41s
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (pull_request) Successful in 2s
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 2s
CI/CD Pipeline / PR Build API Image (pull_request) Successful in 1m38s
CI/CD Pipeline / PR Build Worker Image (pull_request) Successful in 42s
CI/CD Pipeline / CI Gate (pull_request) Successful in 1s
CI/CD Pipeline / Canary Release to Production (pull_request) Failing after 373h10m52s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 373h10m53s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 373h10m53s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 373h10m52s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 373h23m30s
CI/CD Pipeline / Retag skipped Staging Worker Image (pull_request) Failing after 373h23m51s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 373h23m32s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 373h24m25s
CI/CD Pipeline / Retag skipped Staging API Image (pull_request) Failing after 373h23m55s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 373h24m29s
CI/CD Pipeline / PR Build Web Image (pull_request) Failing after 373h24m39s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 373h26m21s
CI/CD Pipeline / Check push changed paths (pull_request) Failing after 373h30m12s
CI/CD Pipeline / Production Browser E2E (push) Failing after 373h32m29s
CI/CD Pipeline / Deploy Production (push) Failing after 373h32m29s
CI/CD Pipeline / CI Gate (push) Failing after 373h32m30s
CI/CD Pipeline / Build Production Web Image (push) Failing after 373h32m30s
CI/CD Pipeline / Build Production API Image (push) Failing after 373h32m30s
CI/CD Pipeline / Retag skipped Staging Web Image (push) Failing after 373h44m47s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 373h26m40s
CI/CD Pipeline / Validate - Security (pull_request) Failing after 373h27m47s
CI/CD Pipeline / Validate - Style (pull_request) Failing after 373h30m10s
CI/CD Pipeline / Build Staging Worker Image (push) Failing after 373h49m7s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Failing after 373h49m11s
CI/CD Pipeline / Build Staging API Image (push) Failing after 373h49m9s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 373h49m13s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 373h49m15s
CI/CD Pipeline / PR Build Web Image (push) Failing after 373h49m13s
CI/CD Pipeline / PR Build API Image (push) Failing after 373h49m13s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 373h57m53s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 373h58m42s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Failing after 374h0m34s
CI/CD Pipeline / Canary Release to Production (push) Failing after 374h6m44s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 374h6m45s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 373h45m7s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 373h57m50s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 373h45m9s
CI/CD Pipeline / Retag skipped Staging Web Image (pull_request) Failing after 373h58m9s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 374h1m25s
CI/CD Pipeline / Validate - Python (mypy + alembic) (pull_request) Failing after 374h1m25s
CI/CD Pipeline / Frontend Lint (push) Failing after 374h23m29s
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (push) Successful in 1s
CI/CD Pipeline / Validate - Python (mypy + alembic) (push) Failing after 1s
CI/CD Pipeline / Check push changed paths (push) Successful in 3s
CI/CD Pipeline / Build Staging Web Image (push) Successful in 4m20s
CI/CD Pipeline / Retag skipped Staging API Image (push) Successful in 1m52s
CI/CD Pipeline / Retag skipped Staging Worker Image (push) Successful in 1m55s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 6m27s
CI/CD Pipeline / Validate - Style (push) Successful in 7m29s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Successful in 1m21s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 8m9s
CI/CD Pipeline / Frontend Unit Tests (push) Successful in 9m36s
CI/CD Pipeline / Validate - Security (push) Successful in 9m45s
CI/CD Pipeline / Integration Tests (push) Successful in 10m10s
CI/CD Pipeline / ACR Image Cleanup (push) Successful in 2m24s
AI Code Review / AI Code Review (pull_request) Failing after 10m14s
CI/CD Pipeline / Staging API Integration Tests (push) Successful in 4m20s
CI/CD Pipeline / Staging E2E Tests (push) Successful in 4m58s
CI/CD Pipeline / Unit Tests (push) Successful in 16m41s
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (pull_request) Successful in 2s
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 2s
CI/CD Pipeline / PR Build API Image (pull_request) Successful in 1m38s
CI/CD Pipeline / PR Build Worker Image (pull_request) Successful in 42s
CI/CD Pipeline / CI Gate (pull_request) Successful in 1s
CI/CD Pipeline / Canary Release to Production (pull_request) Failing after 373h10m52s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 373h10m53s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 373h10m53s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 373h10m52s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 373h23m30s
CI/CD Pipeline / Retag skipped Staging Worker Image (pull_request) Failing after 373h23m51s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 373h23m32s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 373h24m25s
CI/CD Pipeline / Retag skipped Staging API Image (pull_request) Failing after 373h23m55s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 373h24m29s
CI/CD Pipeline / PR Build Web Image (pull_request) Failing after 373h24m39s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 373h26m21s
CI/CD Pipeline / Check push changed paths (pull_request) Failing after 373h30m12s
CI/CD Pipeline / Production Browser E2E (push) Failing after 373h32m29s
CI/CD Pipeline / Deploy Production (push) Failing after 373h32m29s
CI/CD Pipeline / CI Gate (push) Failing after 373h32m30s
CI/CD Pipeline / Build Production Web Image (push) Failing after 373h32m30s
CI/CD Pipeline / Build Production API Image (push) Failing after 373h32m30s
CI/CD Pipeline / Retag skipped Staging Web Image (push) Failing after 373h44m47s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 373h26m40s
CI/CD Pipeline / Validate - Security (pull_request) Failing after 373h27m47s
CI/CD Pipeline / Validate - Style (pull_request) Failing after 373h30m10s
CI/CD Pipeline / Build Staging Worker Image (push) Failing after 373h49m7s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Failing after 373h49m11s
CI/CD Pipeline / Build Staging API Image (push) Failing after 373h49m9s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 373h49m13s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 373h49m15s
CI/CD Pipeline / PR Build Web Image (push) Failing after 373h49m13s
CI/CD Pipeline / PR Build API Image (push) Failing after 373h49m13s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 373h57m53s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 373h58m42s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Failing after 374h0m34s
CI/CD Pipeline / Canary Release to Production (push) Failing after 374h6m44s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 374h6m45s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 373h45m7s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 373h57m50s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 373h45m9s
CI/CD Pipeline / Retag skipped Staging Web Image (pull_request) Failing after 373h58m9s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 374h1m25s
CI/CD Pipeline / Validate - Python (mypy + alembic) (pull_request) Failing after 374h1m25s
CI/CD Pipeline / Frontend Lint (push) Failing after 374h23m29s
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com> Co-committed-by: xiaoxia <dev@xiaoxiajianji.com>
This commit was merged in pull request #1591.
This commit is contained in:
@@ -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>
|
||||
)
|
||||
})}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user