fix: 滴数输入框再缩窄到42px
All checks were successful
Test / unit-test (push) Successful in 5s
Test / build-check (push) Successful in 4s
Test / e2e-test (push) Successful in 50s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-13 20:23:47 +00:00
parent ad9cc57d00
commit 3a8698c187
2 changed files with 3 additions and 3 deletions

View File

@@ -1694,8 +1694,8 @@ async function saveRecipe() {
}
.editor-drops {
width: 50px;
padding: 7px 4px;
width: 42px;
padding: 5px 2px;
border: 1.5px solid var(--border, #e0d4c0);
border-radius: 8px;
font-size: 13px;

View File

@@ -2112,7 +2112,7 @@ watch(() => recipeStore.recipes, () => {
.editor-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 8px; }
.editor-table th { text-align: left; padding: 6px 4px; color: #999; font-weight: 500; font-size: 12px; border-bottom: 1px solid #eee; }
.editor-table td { padding: 6px 4px; border-bottom: 1px solid #f5f5f5; }
.editor-drops { width: 50px; padding: 6px 4px; border: 1.5px solid #d4cfc7; border-radius: 8px; font-size: 13px; text-align: center; outline: none; font-family: inherit; }
.editor-drops { width: 42px; padding: 5px 2px; border: 1.5px solid #d4cfc7; border-radius: 8px; font-size: 13px; text-align: center; outline: none; font-family: inherit; }
.editor-drops:focus { border-color: #7ec6a4; }
.drops-with-unit { display: flex; align-items: center; gap: 2px; }
.unit-hint { font-size: 11px; color: #b0aab5; white-space: nowrap; }