Fix widget layout to use full available width

- Change marketing widget containers from fixed 600px to width: 100%
- Update basic-host iframe to use flex: 1 for proper expansion
- Widgets now fill their parent container instead of fixed size

Files changed:
- examples/budget-allocator-server/src/mcp-app.css
- examples/customer-segmentation-server/src/mcp-app.css
- examples/scenario-modeler-server/src/mcp-app.css
- examples/system-monitor-server/src/mcp-app.css
- examples/basic-host/src/index.module.css

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Anton Pidkuiko MacBook 2025-12-08 13:51:56 +00:00
commit 8ef9142f00
No known key found for this signature in database
5 changed files with 6 additions and 7 deletions

View file

@ -113,9 +113,8 @@
min-height: 200px;
iframe {
flex-shrink: 0;
height: 100%;
max-width: 100%;
flex: 1 0 auto;
height: 600px;
box-sizing: border-box;
border: 3px dashed #888;
border-radius: 4px;

View file

@ -40,7 +40,7 @@ body {
display: flex;
flex-direction: column;
height: 600px;
width: 600px;
width: 100%;
max-width: 100%;
max-height: 100%;
overflow: hidden;

View file

@ -37,7 +37,7 @@ html, body {
}
.main {
width: 600px;
width: 100%;
height: 600px;
margin: 0 auto;
padding: 12px;

View file

@ -37,7 +37,7 @@
============================================================================ */
.main {
width: 600px;
width: 100%;
height: 600px;
overflow: hidden;
background: var(--bg-primary);

View file

@ -36,7 +36,7 @@ html, body {
}
.main {
width: 600px;
width: 100%;
margin: 0 auto;
padding: 16px;
display: flex;