Skip to content

Commit

Permalink
style(notification): Fix layout falling apart when message becomes mu…
Browse files Browse the repository at this point in the history
…lti-line (#200)

Related to #154. Closes #149.
  • Loading branch information
dominique-mueller committed Mar 10, 2021
1 parent 16e787f commit 4d3a780
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion projects/angular-notifier-demo/src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Component, ViewChild } from '@angular/core';

import { NotifierService } from 'angular-notifier';

/**
Expand Down
1 change: 0 additions & 1 deletion projects/angular-notifier-demo/src/app/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';

import { NotifierModule, NotifierOptions } from 'angular-notifier';

import { AppComponent } from './app.component';
Expand Down
3 changes: 2 additions & 1 deletion projects/angular-notifier/src/styles/core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
}

&__notification {
display: block;
display: flex;
align-items: center;
position: fixed; // Overlay
visibility: hidden; // Notifications are hidden by default, and get shown (or animated in) dynamically by the Angular component
z-index: 10000; // Pretty much random ...
Expand Down

0 comments on commit 4d3a780

Please sign in to comment.