Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2c28511

Browse files
style(notification): Fix layout falling apart when message becomes multi-line (#200)
Related to #154. Closes #149.
1 parent 7b43cd5 commit 2c28511

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

‎projects/angular-notifier-demo/src/app/app.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { Component, ViewChild } from '@angular/core';
2-
32
import { NotifierService } from 'angular-notifier';
43

54
/**

‎projects/angular-notifier-demo/src/app/app.module.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { NgModule } from '@angular/core';
22
import { BrowserModule } from '@angular/platform-browser';
3-
43
import { NotifierModule, NotifierOptions } from 'angular-notifier';
54

65
import { AppComponent } from './app.component';

‎projects/angular-notifier/src/styles/core.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
}
2222

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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /