Skip to content

Commit

Permalink
fix(dialog): Diaolog box height issue fixed (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
André Kilchenmann committed Jan 13, 2021
1 parent d5b77bf commit 15d1182
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 0 deletions.
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

0 comments on commit 15d1182

Please sign in to comment.