Override bootstrap toaster CSS fixing angular2-toaster

This commit is contained in:
Tony Stipanic 2021-09-07 00:19:02 +02:00
parent 147a536402
commit 1a7b8ca822
No known key found for this signature in database
GPG Key ID: 3026BCCB6C9CC6BD
3 changed files with 6 additions and 2 deletions

View File

@ -133,7 +133,7 @@ export function HttpLoaderFactory(http: HttpClient) {
routing, routing,
NgbModule, NgbModule,
UiSwitchModule, UiSwitchModule,
ToasterModule, ToasterModule.forRoot(),
BrowserAnimationsModule, BrowserAnimationsModule,
BreadcrumbModule, BreadcrumbModule,
CKEditorModule, CKEditorModule,

View File

@ -1,12 +1,12 @@
// styles in src/style directory are applied to the whole page // styles in src/style directory are applied to the whole page
@import "../assets//fonts/opensans100-roboto300"; @import "../assets//fonts/opensans100-roboto300";
@import "../../node_modules/angular2-toaster/toaster";
@import "~bootstrap/scss/bootstrap"; @import "~bootstrap/scss/bootstrap";
@import "~ngx-ui-switch/ui-switch.component.scss"; @import "~ngx-ui-switch/ui-switch.component.scss";
@import "themes/themes"; @import "themes/themes";
@import "components/ibox"; @import "components/ibox";
@import "components/dialog"; @import "components/dialog";
@import "components/bootstrap_override"; @import "components/bootstrap_override";
@import "~angular2-toaster/toaster";
@import "riot"; @import "riot";
body { body {

View File

@ -27,5 +27,9 @@
.form-control::placeholder { .form-control::placeholder {
color: themed(formControlPlaceholderColor); color: themed(formControlPlaceholderColor);
} }
.toast:not(.show) {
display: flex;
}
} }
} }