Dialog refactor 2 (#2321)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
This commit is contained in:
@@ -10,6 +10,7 @@ import {Tooltip} from 'primeng/tooltip';
|
||||
import {DialogService, DynamicDialogRef} from 'primeng/dynamicdialog';
|
||||
import {FontUploadDialogComponent} from './font-upload-dialog/font-upload-dialog.component';
|
||||
import {Skeleton} from 'primeng/skeleton';
|
||||
import {DialogSize, DialogStyle} from '../../../shared/services/dialog-launcher.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-custom-fonts',
|
||||
@@ -79,14 +80,10 @@ export class CustomFontsComponent implements OnInit {
|
||||
|
||||
this.uploadDialogRef = this.dialogService.open(FontUploadDialogComponent, {
|
||||
showHeader: false,
|
||||
styleClass: 'dynamic-dialog-minimal',
|
||||
styleClass: `${DialogSize.MD} ${DialogStyle.MINIMAL}`,
|
||||
modal: true,
|
||||
dismissableMask: false,
|
||||
closable: false,
|
||||
width: '700px',
|
||||
breakpoints: {
|
||||
'768px': '95vw'
|
||||
}
|
||||
});
|
||||
|
||||
if (this.uploadDialogRef) {
|
||||
|
||||
-2
@@ -1,8 +1,6 @@
|
||||
@use '../../../../shared/styles/panel-shared' as panel;
|
||||
|
||||
.create-user-dialog {
|
||||
width: 800px;
|
||||
max-width: 800px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
@use '../../../shared/styles/panel-shared' as panel;
|
||||
|
||||
.user-profile-dialog {
|
||||
width: 500px;
|
||||
max-width: 650px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
Reference in New Issue
Block a user