From 7580319fc84f9ab1ec868f7539b8d39b28ef5733 Mon Sep 17 00:00:00 2001 From: Angel Capetillo Zavala Date: Sat, 14 Nov 2026 07:56:33 -0600 Subject: [PATCH] =?UTF-8?q?fix(cama):=20single=20vertical=20scroll=20in=20?= =?UTF-8?q?An=C3=A1lisis=20epidemiol=C3=B3gico?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The visually-hidden labels are absolutely positioned and had no positioned ancestor in the view, so they were laid out against the document and, with the table far down the page, gave the document its own vertical scroll next to the one of the page container. The view is now their containing block. --- src/app/features/indicadores/indicadores-analisis.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/features/indicadores/indicadores-analisis.ts b/src/app/features/indicadores/indicadores-analisis.ts index d2e08ca..ed721db 100644 --- a/src/app/features/indicadores/indicadores-analisis.ts +++ b/src/app/features/indicadores/indicadores-analisis.ts @@ -115,7 +115,8 @@ function contenedorDeScroll(el: HTMLElement): HTMLElement { `, styles: ` :host { display: block; min-width: 0; } - .analisis { display: flex; flex-direction: column; gap: var(--issste-space-4); min-width: 0; } + /* Positioned so the absolutely placed visually-hidden labels belong to this view: otherwise they are laid out against the document and give it a vertical scroll of its own. */ + .analisis { position: relative; display: flex; flex-direction: column; gap: var(--issste-space-4); min-width: 0; } .analisis > * { margin: 0; } /* The dark theme paints the panel's own surfaces, not the page: the loose heading and notes get the dark background so their light text stays legible. */ :host-context(.dark-theme) .analisis { padding: var(--issste-space-4); background: var(--issste-background); color: var(--issste-text); border-radius: var(--issste-radius); }