Skip to content

Commit aa658f8

Browse files
author
KHOUBZA Younes
committed
fix pnotify warning message
1 parent a2d29f5 commit aa658f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/flasher/src/flasher.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ $types: (
3737

3838
.fl-main-container {
3939
position: fixed;
40-
max-width: 304px;
40+
max-width: 350px;
4141
width: 100%;
4242
z-index: 99999;
4343

@@ -103,6 +103,7 @@ $types: (
103103
display: flex;
104104
padding-top: 0.75rem;
105105
padding-bottom: 0.75rem;
106+
padding-right: 0.75rem;
106107
align-items: center;
107108
}
108109

packages/pnotify/src/pnotify.ts

-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ export default class PnotifyFactory implements NotificationFactoryInterface {
8585
success(options as Options);
8686
break;
8787
case 'alert':
88-
case 'warning':
8988
alert(options as Options);
9089
break;
9190
case 'info':

0 commit comments

Comments
 (0)