home: fix scroll vertical (host sin height definido)

:host no tenía display/height, así que min-height:100% del .container no
encontraba contenedor de referencia y los padres .view/.layout-crud
(overflow:hidden) recortaban el contenido. Movido el overflow-y:auto al
:host con height:100% explícito.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Lucas Tettamanti
2026-05-02 18:40:36 -03:00
parent cbbb88c052
commit c410133c4c

View File

@@ -34,14 +34,12 @@ class HomeDashboard extends HTMLElement {
this.shadowRoot.innerHTML = ` this.shadowRoot.innerHTML = `
<style> <style>
:host { font-family: var(--font-sans); } :host { display:block; height:100%; min-height:0; overflow-y:auto; font-family: var(--font-sans); }
* { box-sizing: border-box; } * { box-sizing: border-box; }
.container { .container {
min-height: 100%;
background: var(--bg); background: var(--bg);
color: var(--text); color: var(--text);
padding: var(--space-6); padding: var(--space-6);
overflow-y: auto;
} }
.header { .header {
display: flex; justify-content: space-between; align-items: baseline; display: flex; justify-content: space-between; align-items: baseline;