-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fix(snackbar): wrap simple snackbar text in span #12599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(snackbar): wrap simple snackbar text in span #12599
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but out of curiosity, what's the reason for wrapping it?
83498c1
to
8697fbb
Compare
We have begun transforming our html templates in our internal syncs to include our license header which results in a new line above template. Specifically in the simple snack bar this adds a single space when looking at the elements |
@josephperrott can you add that explanation to the commit message? |
8697fbb
to
7f6afd6
Compare
Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
We have begun transforming our html templates in our internal syncs to include our license header which results in a new line above template. In the simple snack bar this adds a single space when looking at the elements textContent. By wrapping the content in a span we ensure that the whitespace is consistent regardless of the presence of the license header comment in the template file.
7f6afd6
to
0d055de
Compare
We have begun transforming our html templates in our internal syncs to include our license header which results in a new line above template. In the simple snack bar this adds a single space when looking at the elements textContent. By wrapping the content in a span we ensure that the whitespace is consistent regardless of the presence of the license header comment in the template file.
We have begun transforming our html templates in our internal syncs to include our license header which results in a new line above template. In the simple snack bar this adds a single space when looking at the elements textContent. By wrapping the content in a span we ensure that the whitespace is consistent regardless of the presence of the license header comment in the template file.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
No description provided.