diff --git a/packages/trace-viewer/src/ui/uiModeView.css b/packages/trace-viewer/src/ui/uiModeView.css index 80cf5c6341..3c18145805 100644 --- a/packages/trace-viewer/src/ui/uiModeView.css +++ b/packages/trace-viewer/src/ui/uiModeView.css @@ -74,13 +74,25 @@ } .ui-mode .disconnected { + display: flex; + align-items: center; + justify-content: center; + flex: auto; + flex-direction: column; + background-color: var(--vscode-editor-background); position: absolute; top: 0; - left: 0; right: 0; bottom: 0; + left: 0; z-index: 1000; - background-color: rgba(0, 0, 0, 0.5); + line-height: 24px; +} + +.disconnected .title { + font-size: 24px; + font-weight: bold; + margin-bottom: 30px; } .status-line { diff --git a/packages/trace-viewer/src/ui/uiModeView.tsx b/packages/trace-viewer/src/ui/uiModeView.tsx index 3f0f9f67c4..1becb6645f 100644 --- a/packages/trace-viewer/src/ui/uiModeView.tsx +++ b/packages/trace-viewer/src/ui/uiModeView.tsx @@ -207,9 +207,9 @@ export const UIModeView: React.FC<{}> = ({ } - {isDisconnected &&