diff --git a/demo/DemoApp.tsx b/demo/DemoApp.tsx
index c8cbdc9..25b2b29 100644
--- a/demo/DemoApp.tsx
+++ b/demo/DemoApp.tsx
@@ -500,6 +500,28 @@ export function DemoApp()
+
+
Modals
diff --git a/package.json b/package.json
index 5eb600f..36ae7ef 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,5 @@
{
- "version": "1.3.1",
+ "version": "1.3.2",
"name": "@kernelui/core",
"description": "Kernel UI Core.",
"scripts": {
diff --git a/src/styles/components/_subapp.less b/src/styles/components/_subapp.less
index 246bf55..0534c3a 100644
--- a/src/styles/components/_subapp.less
+++ b/src/styles/components/_subapp.less
@@ -7,6 +7,9 @@
top: @subapp-margin;
left: @subapp-margin;
+ display: flex;
+ flex-direction: column;
+
width: calc(100% - (2 * @subapp-margin));
height: calc(100% - (2 * @subapp-margin));
border-radius: 0.25em;
@@ -64,6 +67,10 @@
> main
{
+ flex: 1;
+
padding: 1em;
+
+ overflow: auto;
}
}