From eec1385e00e36b61b4967864f69a0117a5e6fd70 Mon Sep 17 00:00:00 2001 From: NguyenND Date: Tue, 3 Mar 2026 16:44:35 -0500 Subject: [PATCH] Mar 03 2026: fixed inspection result viewer, overlapped elements --- app/templates/inspections/view.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/templates/inspections/view.html b/app/templates/inspections/view.html index 4c2313e..e253f44 100644 --- a/app/templates/inspections/view.html +++ b/app/templates/inspections/view.html @@ -289,15 +289,16 @@ {% endfor %} {% if vis.show %} - {# Flush pending section first #} - {% if remap.pending_sec is not none %} + {# Flush pending section first #}\n {% if remap.pending_sec is not none %} {# Section: 1 row tall, spanning all 12 cols #}
{{ remap.pending_sec.label }}
{% set remap.out_row = remap.out_row + 1 %} {% set remap.pending_sec = none %} - {% set remap.last_orig_row = -1 %} + {# Set last_orig_row to field.row so the first data field after the section + does NOT trigger an extra row advance — the section already consumed a row. #} + {% set remap.last_orig_row = field.row %} {% endif %} {# Advance out_row when the original row changes #}