Skip to content

Commit c3da4e9

Browse files
committed
Improve responsiveness of metadata editor dialog
1 parent f8e083e commit c3da4e9

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

src/app/image-metadata-dialog/image-metadata-dialog.component.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
.dialog-container {
77
display: flex;
88
flex-direction: column;
9-
max-height: 90vh;
10-
width: 800px;
9+
height: 100%;
10+
width: 100%;
1111
overflow: hidden;
1212
padding: 24px;
1313
box-sizing: border-box;

src/app/ontology-editor-element/ontology-editor-element.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@ export class OntologyEditorElementComponent {
6767
} as ImageMetadata;
6868

6969
const dialogRef = this.dialog.open(ImageMetadataDialogComponent, {
70-
width: '800px',
71-
maxHeight: '90vh',
70+
width: '85%',
71+
maxWidth: '800px',
72+
maxHeight: '90%',
7273
data: { metadata }
7374
});
7475

0 commit comments

Comments
 (0)