Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix server error dialog UI #1042

Merged
merged 1 commit into from
Oct 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion mesop/web/src/error/error_box.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.error {
padding: 28px;
color: #9e4242;
overflow: auto;
}

.ok-button {
Expand Down
1 change: 1 addition & 0 deletions mesop/web/src/error/error_box.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export class ErrorBox {
display: block;
max-height: 80vh;
background-color: #ffe5e5;
overflow: auto;
}
`,
standalone: true,
Expand Down
1 change: 1 addition & 0 deletions mesop/web/src/shell/shell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ export class Shell {
this.dialog.open(ServerErrorBoxDialogComponent, {
width: 'min(90vw, max(60vw, 600px))',
data: {error: error},
autoFocus: 'dialog',
});
}

Expand Down
Loading