Before submitting...
Context
-
Badges should not include textual content in psuedo selector (multilingual transliteration)
Currently it's possible to add classes to badges like "new", this results in textual content being rendered over CSS
This makes this feature incompatible with multilingual transliteration
-
Badges do not always adjust in size when textual content increases
This results textual overflow out of the badge

Current Behavior
- Textual content rendered by CSS
- Textual overflow
Expected behavior
- All textual content should be rendered in the HTML DOM, as a result it should be renderable in all possible languages
- Text overflow should not be allowed
Possible Solutions or Causes
Textual content in psuedo
Remove textual content in CSS and update documentation
Textual overflow
Removing the width specifiers and adding a white-space: nowrap; seem to fix this issue
Since badges are used over multiple components, it should be tested in all possible scenario's
Your Environment
Before submitting...
Context
Badges should not include textual content in psuedo selector (multilingual transliteration)
Currently it's possible to add classes to badges like "new", this results in textual content being rendered over CSS
This makes this feature incompatible with multilingual transliteration
Badges do not always adjust in size when textual content increases

This results textual overflow out of the badge
Current Behavior
Expected behavior
Possible Solutions or Causes
Textual content in psuedo
Remove textual content in CSS and update documentation
Textual overflow
Removing the width specifiers and adding a
white-space: nowrap;seem to fix this issueSince badges are used over multiple components, it should be tested in all possible scenario's
Your Environment