fix: 对齐+左对齐+所有用户可新增
Some checks failed
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 5s
Test / build-check (push) Successful in 4s
PR Preview / test (pull_request) Successful in 4s
PR Preview / deploy-preview (pull_request) Successful in 13s
Test / e2e-test (push) Failing after 52s

- 配方查询页section-label与section-header padding对齐
- 管理配方页标题左对齐,toggle图标靠右
- 新增按钮对所有用户可见(新增到个人配方)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-10 15:46:18 +00:00
parent ca37d9aa1d
commit ce5d31ee84
2 changed files with 4 additions and 4 deletions

View File

@@ -26,7 +26,7 @@
<!-- Row 2: Add + Select + Tags + Batch + Export -->
<div class="toolbar-row">
<button v-if="auth.canEdit" class="btn-outline btn-sm" @click="showAddOverlay = true">新增</button>
<button class="btn-outline btn-sm" @click="showAddOverlay = true">新增</button>
<button
class="btn-sm"
:class="isAllSelected ? 'btn-select-active' : 'btn-outline'"
@@ -1433,8 +1433,8 @@ watch(() => recipeStore.recipes, () => {
.log-recipe { font-weight: 500; color: #3e3a44; }
.log-from { color: #999; font-size: 12px; }
.log-time { color: #bbb; font-size: 11px; margin-left: auto; white-space: nowrap; }
.section-title.clickable { cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.toggle-icon { font-size: 12px; color: #999; }
.section-title.clickable { cursor: pointer; display: flex; align-items: center; gap: 6px; }
.toggle-icon { font-size: 12px; color: #999; margin-left: auto; }
.contrib-tag {
font-size: 11px;

View File

@@ -719,7 +719,7 @@ function onCarouselTouchEnd(e) {
font-size: 14px;
font-weight: 600;
color: #3e3a44;
padding: 8px 4px;
padding: 10px 12px;
margin-bottom: 8px;
}