diff --git a/packages/inspector/src/App.css b/packages/inspector/src/App.css index f995cff..3b16fad 100644 --- a/packages/inspector/src/App.css +++ b/packages/inspector/src/App.css @@ -1,7 +1,9 @@ .app { display: flex; flex-direction: column; - min-height: 100vh; + height: 100vh; + max-height: 100vh; + overflow: hidden; } /* Header */ @@ -104,6 +106,7 @@ .main-layout { display: flex; flex: 1; + min-height: 0; overflow: hidden; position: relative; } @@ -116,12 +119,14 @@ flex: 1; display: flex; flex-direction: column; + min-height: 0; overflow: hidden; } .content-panels { display: flex; flex: 1; + min-height: 0; overflow: hidden; } @@ -134,8 +139,19 @@ /* Responsive - Mobile */ @media (max-width: 768px) { + .app { + height: auto; + max-height: none; + min-height: 100vh; + overflow-x: hidden; + overflow-y: auto; + width: 100%; + max-width: 100vw; + } + .header { padding: 10px 16px; + flex-shrink: 0; } .mobile-menu-toggle { @@ -165,7 +181,22 @@ z-index: 99; } + .main-layout { + flex: none; + width: 100%; + max-width: 100%; + } + + .content { + flex: none; + width: 100%; + max-width: 100%; + } + .content-panels { + flex: none; flex-direction: column; + width: 100%; + max-width: 100%; } } diff --git a/packages/inspector/src/components/ResultsPane.css b/packages/inspector/src/components/ResultsPane.css index 3b55e87..868dafc 100644 --- a/packages/inspector/src/components/ResultsPane.css +++ b/packages/inspector/src/components/ResultsPane.css @@ -3,6 +3,7 @@ display: flex; flex-direction: column; min-width: 300px; + min-height: 0; background: var(--bg-primary); } @@ -133,6 +134,7 @@ flex: 1; display: flex; flex-direction: column; + min-height: 0; overflow: hidden; } @@ -224,6 +226,7 @@ flex: 1; display: flex; flex-direction: column; + min-height: 0; overflow: hidden; } @@ -250,6 +253,7 @@ .events-list { flex: 1; + min-height: 0; overflow-y: auto; padding: 12px; display: flex; @@ -258,6 +262,7 @@ } .event-item { + flex-shrink: 0; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 8px; @@ -322,8 +327,25 @@ /* Mobile styles */ @media (max-width: 768px) { .results-pane { + flex: none; min-width: 0; - min-height: 300px; + min-height: 0; + width: 100%; + max-width: 100%; + } + + .results-content { + flex: none; + width: 100%; + max-width: 100%; + } + + .ui-frame { + flex: none; + height: 500px; + min-height: 500px; + width: 100%; + max-width: 100%; } .results-pane .panel-header { @@ -339,6 +361,7 @@ .tab { padding: 10px 12px; font-size: 12px; + min-height: auto; } .results-actions { @@ -353,6 +376,8 @@ .results-loading, .results-empty, .results-error { + flex: none; + min-height: 200px; padding: 24px 16px; } @@ -362,6 +387,7 @@ } .text-output { + flex: none; padding: 12px; } @@ -369,9 +395,17 @@ font-size: 12px; } + .events-panel { + flex: none; + width: 100%; + max-width: 100%; + } + .events-list { + flex: none; padding: 8px; gap: 6px; + overflow: visible; } .event-header { diff --git a/packages/inspector/src/components/ResultsPane.tsx b/packages/inspector/src/components/ResultsPane.tsx index 9e4158e..f1015a5 100644 --- a/packages/inspector/src/components/ResultsPane.tsx +++ b/packages/inspector/src/components/ResultsPane.tsx @@ -100,6 +100,14 @@ export function ResultsPane({ result, isExecuting, onReload }: ResultsPaneProps) Events {events.length > 0 && {events.length}} + {/* {activeTab === 'events' && events.length > 0 && ( +