From 3a8698c187ef303ab603de8e5f6c730762683e69 Mon Sep 17 00:00:00 2001 From: Hera Zhao Date: Mon, 13 Apr 2026 20:23:47 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=BB=B4=E6=95=B0=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E6=A1=86=E5=86=8D=E7=BC=A9=E7=AA=84=E5=88=B042px?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/components/RecipeDetailOverlay.vue | 4 ++-- frontend/src/views/RecipeManager.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/RecipeDetailOverlay.vue b/frontend/src/components/RecipeDetailOverlay.vue index b2a13a2..8f33c8d 100644 --- a/frontend/src/components/RecipeDetailOverlay.vue +++ b/frontend/src/components/RecipeDetailOverlay.vue @@ -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; diff --git a/frontend/src/views/RecipeManager.vue b/frontend/src/views/RecipeManager.vue index a3bd2ee..0561290 100644 --- a/frontend/src/views/RecipeManager.vue +++ b/frontend/src/views/RecipeManager.vue @@ -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; }