Commit 073ce59c authored by Pearu Sarv's avatar Pearu Sarv
Browse files

Merge branch 'hotfix/TEIS-3577' into 'master'

Release: merge 'hotfix-teis-3577' into 'master' created by Pearu Sarv

See merge request teis/public-web-client!1091
parents afaedc0e c29e6fd0
{
"name": "te-is",
"version": "1.52.1",
"version": "1.52.5",
"lockfileVersion": 2,
"requires": true,
"packages": {
{
"name": "te-is",
"version": "1.52.4",
"version": "1.52.5",
"license": "MIT",
"scripts": {
"ng": "ng",
......
......@@ -56,7 +56,7 @@ h2 [class*='icon-'] {
overflow: hidden;
}
}
.modal-dialog {
.teis-bs-modal.modal-dialog {
max-width: 58.25rem;
margin-bottom: 3.125rem;
margin-top: 3.125rem;
......
......@@ -13,7 +13,7 @@ export class ModalService {
private bsModalService: BsModalService) {}
openWithComponent(component, initialState = {}) {
return this.modalRef = this.bsModalService.show(component, { initialState, backdrop: 'static' });
return this.modalRef = this.bsModalService.show(component, { initialState, backdrop: 'static', class: 'teis-bs-modal' });
}
/**
......@@ -23,13 +23,13 @@ export class ModalService {
this.modalRef = this.bsModalService.show(component, {
initialState,
backdrop: 'static',
class: 'modal-dialog-centered',
class: 'modal-dialog-centered teis-bs-modal',
});
}
confirm(options: ConfirmationOptions = {}) {
const initialState = options;
this.modalRef = this.bsModalService.show(ConfirmationComponent, { initialState, backdrop: 'static' });
this.modalRef = this.bsModalService.show(ConfirmationComponent, { initialState, backdrop: 'static', class: 'teis-bs-modal' });
return this.modalRef.content.confirmation;
}
......@@ -41,7 +41,7 @@ export class ModalService {
cancelButtonText: this.translate.instant('back'),
...options,
};
this.modalRef = this.bsModalService.show(ConfirmationComponent, { initialState, backdrop: 'static' });
this.modalRef = this.bsModalService.show(ConfirmationComponent, { initialState, backdrop: 'static', class: 'teis-bs-modal' });
return this.modalRef.content.confirmation;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment