diff --git a/src/app/pages/modal-overlays/modal-overlays.module.ts b/src/app/pages/modal-overlays/modal-overlays.module.ts
index ff5c6913..4975af14 100644
--- a/src/app/pages/modal-overlays/modal-overlays.module.ts
+++ b/src/app/pages/modal-overlays/modal-overlays.module.ts
@@ -4,8 +4,10 @@ import {
NbButtonModule,
NbCardModule,
NbCheckboxModule,
- NbDialogModule, NbInputModule,
+ NbDialogModule,
+ NbInputModule,
NbPopoverModule,
+ NbSelectModule,
NbTabsetModule,
NbWindowModule,
} from '@nebular/theme';
@@ -66,6 +68,7 @@ const MODULES = [
NbPopoverModule,
NbButtonModule,
NbInputModule,
+ NbSelectModule,
];
const SERVICES = [
diff --git a/src/app/pages/modal-overlays/toastr/toastr.component.html b/src/app/pages/modal-overlays/toastr/toastr.component.html
index c264a345..6e1c4c63 100644
--- a/src/app/pages/modal-overlays/toastr/toastr.component.html
+++ b/src/app/pages/modal-overlays/toastr/toastr.component.html
@@ -7,56 +7,53 @@
+
+
+ Hide on click
+
+
+ Prevent arising of duplicate toast
+
+
+ Show toast with icon
-
-
Hide on click
-
Prevent arising of duplicate toast
-
Show toast with icon
-
-
+
+
diff --git a/src/app/pages/modal-overlays/toastr/toastr.component.scss b/src/app/pages/modal-overlays/toastr/toastr.component.scss
index 1f6db6bc..1cfeca42 100644
--- a/src/app/pages/modal-overlays/toastr/toastr.component.scss
+++ b/src/app/pages/modal-overlays/toastr/toastr.component.scss
@@ -3,27 +3,16 @@
@import '~@nebular/theme/styles/global/breakpoints';
@include nb-install-component() {
-
- nb-card-footer {
- padding-bottom: 0.25rem;
-
- button {
- @include nb-ltr(margin, 0 1rem 1rem 0);
- @include nb-rtl(margin, 0 0 1rem 1rem);
- }
+ .position-select {
+ min-width: 13rem;
}
- /* stylelint-disable */
- toaster-container ::ng-deep {
- #toast-container .toast-close-button {
- right: 0;
- }
+ .label {
+ display: block;
}
- /* stylelint-enable */
- @include media-breakpoint-down(xs) {
- .dropdown-toggle {
- font-size: 0.75rem;
- }
+ nb-card-footer button:first-child {
+ @include nb-ltr(margin-right, 1rem);
+ @include nb-rtl(margin-left, 1rem);
}
}
diff --git a/src/app/pages/modal-overlays/toastr/toastr.component.ts b/src/app/pages/modal-overlays/toastr/toastr.component.ts
index b294e427..3086f770 100644
--- a/src/app/pages/modal-overlays/toastr/toastr.component.ts
+++ b/src/app/pages/modal-overlays/toastr/toastr.component.ts
@@ -26,17 +26,17 @@ export class ToastrComponent {
hasIcon = true;
position: NbGlobalPosition = NbGlobalPhysicalPosition.TOP_RIGHT;
preventDuplicates = false;
- status: NbComponentStatus = 'success';
+ status: NbComponentStatus = 'primary';
title = 'HI there!';
content = `I'm cool toaster!`;
types: NbComponentStatus[] = [
+ 'primary',
'success',
'info',
'warning',
'danger',
- 'primary',
];
positions: string[] = [
NbGlobalPhysicalPosition.TOP_RIGHT,