Skip to content

Conversation

@aleemb
Copy link

@aleemb aleemb commented Dec 28, 2017

This will allow improved CSS/UI targeting for the message body.

For example .flash-message { white-space: pre } can allow text-formatted messages to appear exactly as intended.

Something like this won't work with .alert { white-space: pre } since the alert markup contains lots of new lines and spaces used for formatting.

This will allow improved CSS/UI targeting for the message body.

For example `.flash-message { white-space: pre }` can allow text-formatted messages to appear exactly as intended.

Something like this won't work with `.alert { white-space: pre }` since the `alert` markup contains lots of new lines and spaces used for formatting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant