Skip to content

Commit

Permalink
Fix artemsky#63 - New line in text
Browse files Browse the repository at this point in the history
New line support added for toast body.
  • Loading branch information
ninilo97 committed Jun 14, 2021
1 parent b28ac4b commit fc4b809
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions projects/ng-snotify/styles/dark/toast.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ $snotify-body-font-size: auto !default;
&__body {
font-size: $snotify-body-font-size;
color: $toast-color;
white-space: pre-line;
}
}

Expand Down
1 change: 1 addition & 0 deletions projects/ng-snotify/styles/material/toast.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ $snotify-body-font-size: auto !default;

&__body {
font-size: $snotify-body-font-size;
white-space: pre-line;
}
}

Expand Down
1 change: 1 addition & 0 deletions projects/ng-snotify/styles/simple/toast.scss
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ $snotify-body-font-size: auto !default;
&__body {
font-size: $snotify-body-font-size;
color: $toast-color;
white-space: pre-line;
}
}

Expand Down

0 comments on commit fc4b809

Please sign in to comment.