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:
@@ -34,14 +34,12 @@ class HomeDashboard extends HTMLElement {
|
||||
|
||||
this.shadowRoot.innerHTML = `
|
||||
<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; }
|
||||
.container {
|
||||
min-height: 100%;
|
||||
background: var(--bg);
|
||||
color: var(--text);
|
||||
padding: var(--space-6);
|
||||
overflow-y: auto;
|
||||
}
|
||||
.header {
|
||||
display: flex; justify-content: space-between; align-items: baseline;
|
||||
|
||||
Reference in New Issue
Block a user