From 71a7f4703f349a192cd0e73be7d3caa4cbcb7a3d Mon Sep 17 00:00:00 2001 From: Manny Dinssa <44172848+Dinssa@users.noreply.github.com> Date: Mon, 5 Aug 2024 12:42:34 +0100 Subject: [PATCH] Adjust class name to be more generic and reusable --- app/components/bulk_upload_error_row_component.html.erb | 2 +- app/frontend/styles/application.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/bulk_upload_error_row_component.html.erb b/app/components/bulk_upload_error_row_component.html.erb index 91ef69732..4e9ff1390 100644 --- a/app/components/bulk_upload_error_row_component.html.erb +++ b/app/components/bulk_upload_error_row_component.html.erb @@ -56,7 +56,7 @@ <% row.with_cell(text: error.cell) %> <% row.with_cell(text: question_for_field(error.field)) %> <% if index == 0 %> - <% row.with_cell(text: error_message, rowspan: errors.size, html_attributes: { class: "govuk-!-font-weight-bold bulk-upload-error-message" }) %> + <% row.with_cell(text: error_message, rowspan: errors.size, html_attributes: { class: "govuk-!-font-weight-bold grouped-multirow-cell" }) %> <% end %> <% row.with_cell(text: error.field.humanize) %> <% end %> diff --git a/app/frontend/styles/application.scss b/app/frontend/styles/application.scss index fa20a0c48..62d4e932e 100644 --- a/app/frontend/styles/application.scss +++ b/app/frontend/styles/application.scss @@ -92,6 +92,6 @@ $govuk-breakpoints: ( } .grouped-rows.last-row td, -.grouped-rows .bulk-upload-error-message { +.grouped-rows .grouped-multirow-cell { border-bottom: 1px solid #b1b4b6; }