diff --git a/playground/src/app.css b/playground/src/app.css index 80ba942..04b322b 100644 --- a/playground/src/app.css +++ b/playground/src/app.css @@ -1,3 +1,12 @@ *,:before,:after { box-sizing: border-box; } -html,body { margin: 0; padding: 0; min-height: 100vh; } + +/* El root debe ocupar viewport completo para que fillMaxSize funcione */ +html, body, #app { + margin: 0; + padding: 0; + width: 100%; + height: 100%; + overflow: hidden; +} + body { font-family: Inter, system-ui, sans-serif; } diff --git a/playground/src/screens/BoxPlayground.svelte b/playground/src/screens/BoxPlayground.svelte index f31e39b..97f7d60 100644 --- a/playground/src/screens/BoxPlayground.svelte +++ b/playground/src/screens/BoxPlayground.svelte @@ -72,8 +72,8 @@ '16px' }).padding(12)}> Medio - '16px' }).padding(8)}> - Top + '16px' }).padding(8)}> + Top diff --git a/playground/src/screens/ColumnPlayground.svelte b/playground/src/screens/ColumnPlayground.svelte index 9a9b05b..df1b00e 100644 --- a/playground/src/screens/ColumnPlayground.svelte +++ b/playground/src/screens/ColumnPlayground.svelte @@ -68,7 +68,7 @@ > '12px' })} /> '12px' })} /> - '12px' })} /> + '12px' })} />