Tab widths in Analytics Dashboard #15873
Labels
area: design
Use for all tasks related to UX, UI, visual, or interaction design.
area: internationalization/localization
i18n and l10n
Describe the bug
The analytics period selection tabs in the analytics page (
app/views/shared/_stats.html.erb
) would have line break at spaces or hyphens, if translated text should contain them. What is worse, it will break at every single character in break-anywhere languages,To Reproduce
Supply translation to each tab's text and
data-text
. For example,See the screenshot.
Expected behavior
For the convenience of i18n alone, an obvious solution is to change the following line from
min-content
tomax-content
, then each tab's text will be contained in one line.forem/app/assets/stylesheets/dashboard.scss
Line 267 in c7902a3
But why is this rule introduced and what does it serve for? To what extent is this an expected design?
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: