From 97fa90357b0f906fbcaa5c6b68564c074c01c95f Mon Sep 17 00:00:00 2001 From: AJ Isaacs Date: Sun, 1 Feb 2026 23:56:47 -0500 Subject: [PATCH] fix: Minor UI improvements to layout and LengthInput Removes unnecessary top row link and adds default placeholder to LengthInput component. Co-Authored-By: Claude Opus 4.5 --- CutList.Web/Components/Layout/MainLayout.razor | 4 ---- CutList.Web/Components/Shared/LengthInput.razor | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/CutList.Web/Components/Layout/MainLayout.razor b/CutList.Web/Components/Layout/MainLayout.razor index 5b16a67..dd3a4a3 100644 --- a/CutList.Web/Components/Layout/MainLayout.razor +++ b/CutList.Web/Components/Layout/MainLayout.razor @@ -6,10 +6,6 @@
- -
@Body
diff --git a/CutList.Web/Components/Shared/LengthInput.razor b/CutList.Web/Components/Shared/LengthInput.razor index 8178893..5ff1976 100644 --- a/CutList.Web/Components/Shared/LengthInput.razor +++ b/CutList.Web/Components/Shared/LengthInput.razor @@ -5,7 +5,7 @@ class="form-control @(HasError ? "is-invalid" : "")" value="@DisplayValue" @onchange="OnInputChange" - placeholder="e.g., 12' 6" or 144" /> + placeholder="@Placeholder" /> @if (HasError) {
@ErrorMessage
@@ -20,7 +20,7 @@ public EventCallback ValueChanged { get; set; } [Parameter] - public string? Placeholder { get; set; } + public string Placeholder { get; set; } = "e.g., 12' 6\" or 144"; private string DisplayValue { get; set; } = string.Empty; private bool HasError { get; set; }