Skip to content

Commit

Permalink
Dialog tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
floogulinc committed Jun 27, 2024
1 parent 2105c8c commit a8d25db
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 16 deletions.
8 changes: 2 additions & 6 deletions src/app/about/about.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,11 @@ export class AboutComponent implements OnInit {
}

boned() {
this.dialog.open(MrBonesDialogComponent, {
maxWidth: '95vw'
});
this.dialog.open(MrBonesDialogComponent);
}

services() {
this.dialog.open(ServicesInfoDialogComponent, {
maxWidth: '95vw'
});
this.dialog.open(ServicesInfoDialogComponent);
}

async options() {
Expand Down
1 change: 0 additions & 1 deletion src/app/confirm-dialog/confirm-dialog.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export class ConfirmDialogComponent {
ConfirmDialogComponent,
{
data: {...defaultData, ...data},
maxWidth: '560px',
...config
}
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ export class FileMetadataDialogComponent implements OnInit {
return dialog.open<FileMetadataDialogComponent, FileMetadataDialogData>(
FileMetadataDialogComponent,
{
maxWidth: '1280px',
width: '95vw',
width: '1280px',
data: {...data},
...config
}
Expand Down
4 changes: 4 additions & 0 deletions src/app/mr-bones-dialog/mr-bones-dialog.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,7 @@ img {
.mat-mdc-dialog-content {
max-height: 75vh;
}

.mat-mdc-table {
background-color: unset;
}
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ export class ServiceSelectDialogComponent implements OnInit {
...defaultData,
...data
},
...config
...config,
width: '560px',
}
);
}
Expand Down
3 changes: 1 addition & 2 deletions src/app/tag-input-dialog/tag-input-dialog.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ export class TagInputDialogComponent implements OnInit {
return dialog.open<TagInputDialogComponent, TagInputDialogData, HydrusSearchTags>(
TagInputDialogComponent,
{
maxWidth: '648px',
width: '90vw',
width: '648px',
data: {
...defaultData,
...data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ export class TagSiblingsParentsDialogComponent implements OnInit {
return dialog.open<TagSiblingsParentsDialogComponent, TagSiblingsParentsDialogData, TagSiblingsParentsDialogResult>(
TagSiblingsParentsDialogComponent,
{
maxWidth: '720px',
width: '95vw',
width: '720px',
data,
...config
}
Expand Down
3 changes: 1 addition & 2 deletions src/app/url-edit-dialog/url-edit-dialog.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ export class UrlEditDialogComponent implements OnInit {
return dialog.open<UrlEditDialogComponent, UrlEditDialogData, UrlEditDialogData>(
UrlEditDialogComponent,
{
maxWidth: '648px',
width: '90vw',
width: '648px',
data: {...data},
//autoFocus: data && data.noteName ? '.note-content' : 'first-tabbable',
...config
Expand Down

0 comments on commit a8d25db

Please sign in to comment.