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(dialog): Fixed dialog box height issue (DSP-1211) #358

Merged
merged 1 commit into from Jan 13, 2021
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/app/main/header/header.component.ts
Expand Up @@ -124,6 +124,7 @@ export class HeaderComponent implements OnInit, OnDestroy{
openDialog(mode: string, name?: string, iri?: string): void {
const dialogConfig: MatDialogConfig = {
width: '840px',
maxHeight: '80vh',
position: {
top: '112px'
},
Expand All @@ -145,6 +146,7 @@ export class HeaderComponent implements OnInit, OnDestroy{
openNewResourceForm(mode: string, name?: string): void {
const dialogConfig: MatDialogConfig = {
width: '840px',
maxHeight: '80vh',
position: {
top: '112px'
},
Expand Down
1 change: 1 addition & 0 deletions src/app/project/board/board.component.ts
Expand Up @@ -301,6 +301,7 @@ export class BoardComponent implements OnInit {
openDialog(mode: string, name: string, id?: string): void {
const dialogConfig: MatDialogConfig = {
width: '560px',
maxHeight: '80vh',
position: {
top: '112px'
},
Expand Down
Expand Up @@ -351,6 +351,7 @@ export class AddUserComponent implements OnInit {
openDialog(mode: string): void {
const dialogConfig: MatDialogConfig = {
width: '560px',
maxHeight: '80vh',
position: {
top: '112px'
},
Expand Down
1 change: 1 addition & 0 deletions src/app/project/list/list.component.ts
Expand Up @@ -204,6 +204,7 @@ export class ListComponent implements OnInit {
openDialog(mode: string, name: string, iri?: string): void {
const dialogConfig: MatDialogConfig = {
width: '640px',
maxHeight: '80vh',
position: {
top: '112px'
},
Expand Down
2 changes: 2 additions & 0 deletions src/app/project/ontology/ontology.component.ts
Expand Up @@ -275,6 +275,7 @@ export class OntologyComponent implements OnInit {
openOntologyForm(mode: 'createOntology' | 'editOntology', iri?: string): void {
const dialogConfig: MatDialogConfig = {
width: '640px',
maxHeight: '80vh',
position: {
top: '112px'
},
Expand Down Expand Up @@ -337,6 +338,7 @@ export class OntologyComponent implements OnInit {
delete(id: string, mode: 'Ontology' | 'ResourceClass', title: string) {
const dialogConfig: MatDialogConfig = {
width: '560px',
maxHeight: '80vh',
position: {
top: '112px'
},
Expand Down
Expand Up @@ -143,6 +143,7 @@ export class ProjectsListComponent implements OnInit {
openDialog(mode: string, name: string, id?: string): void {
const dialogConfig: MatDialogConfig = {
width: '560px',
maxHeight: '80vh',
position: {
top: '112px'
},
Expand Down
1 change: 1 addition & 0 deletions src/app/system/projects/projects.component.ts
Expand Up @@ -132,6 +132,7 @@ export class ProjectsComponent implements OnInit {
openDialog(mode: string): void {
const dialogConfig: MatDialogConfig = {
width: '560px',
maxHeight: '80vh',
position: {
top: '112px'
},
Expand Down
1 change: 1 addition & 0 deletions src/app/system/users/users-list/users-list.component.ts
Expand Up @@ -328,6 +328,7 @@ export class UsersListComponent implements OnInit {
openDialog(mode: string, name: string, iri?: string): void {
const dialogConfig: MatDialogConfig = {
width: '560px',
maxHeight: '80vh',
position: {
top: '112px'
},
Expand Down
1 change: 1 addition & 0 deletions src/app/user/account/account.component.ts
Expand Up @@ -63,6 +63,7 @@ export class AccountComponent implements OnInit {
openDialog(mode: string, name: string, id?: string): void {
const dialogConfig: MatDialogConfig = {
width: '560px',
maxHeight: '80vh',
position: {
top: '112px'
},
Expand Down
1 change: 1 addition & 0 deletions src/app/user/profile/profile.component.ts
Expand Up @@ -80,6 +80,7 @@ export class ProfileComponent implements OnInit {
openDialog(mode: string, name: string): void {
const dialogConfig: MatDialogConfig = {
width: '560px',
maxHeight: '80vh',
position: {
top: '112px'
},
Expand Down