Add monaco editor for json editing and diff view (#4)

Reviewed-on: #4
This commit is contained in:
2024-07-17 21:58:09 +09:30
parent 1654824839
commit 12c36be93d
10 changed files with 100 additions and 31 deletions

View File

@@ -2,10 +2,11 @@
padding: var(--mat-sidenav-container-shape);
display: flex;
flex-direction: column;
box-sizing: border-box;
}
pre,
.editor-items {
.editor-items,
.preview {
flex: 1;
overflow: auto;
}
@@ -14,11 +15,16 @@ pre,
padding: 16px;
}
.actions {
flex: 0 0 auto;
}
.proto-title {
display: flex;
justify-content: space-between;
}
mat-button-toggle-group {
width: fit-content;
}
ngx-monaco-editor,
ngx-monaco-diff-editor {
height: 100%;
}