Skip to content

Commit

Permalink
fix: display line breaks from alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
optionsome committed Jul 10, 2023
1 parent ae680b5 commit 4a44059
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/component/disruption.scss
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
.alert-body {
font-size: $font-size-small;
font-weight: 200;
white-space: pre-wrap;

.alert-url {
color: $primary-color;
Expand Down
1 change: 1 addition & 0 deletions app/component/navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -813,6 +813,7 @@ section.content {
.message-bar-container {
.react-swipe-container, .single-alert {
.message-content {
white-space: pre-wrap;
.message-bar-link {
color: $white;
}
Expand Down
1 change: 1 addition & 0 deletions app/component/stops-near-you.scss
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@
@include font-medium;
text-decoration: none;
font-weight: 100;
white-space: pre-wrap;
background-color: #dc0451;
color: white;
font-size: 0.9375rem;
Expand Down

0 comments on commit 4a44059

Please sign in to comment.