Skip to content
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

"Change language" button in the panel to create a new status has line wrap for long language tags #28250

Closed
myl7 opened this issue Dec 6, 2023 · 1 comment
Labels
area/web interface Related to the Mastodon web interface bug Something isn't working status/to triage This issue needs to be triaged

Comments

@myl7
Copy link

myl7 commented Dec 6, 2023

Steps to reproduce the problem

  1. Open the index page
  2. For wide desktop, focus on the status creating panel on the left; For other devices, click the button "New post" on the right top
  3. Now we can see the "Change language" button (no text, but just an icon button with the language tag as the value) has line wrap, causing the button part long together with a large line spacing

Expected behaviour

The langage tag should be displayed in only one line, with a slightly large icon button

Actual behaviour

The langage tag breaks at - and has line wrap

Detailed description

No response

Mastodon instance

https://social.myl.moe

Mastodon version

v4.2.3

Browser name and version

Mozilla Firefox 120.0.1

Operating system

Arch Linux

Technical details

After F12 to check the CSS, the icon button has a width style, which can cause the line wrap.
The related code seems to be at:

I am not sure. Maybe just a larger size can resolve the problem.

@myl7 myl7 added area/web interface Related to the Mastodon web interface bug Something isn't working status/to triage This issue needs to be triaged labels Dec 6, 2023
@ClearlyClaire
Copy link
Contributor

Hi! This has been addressed already in the development version thanks to #27100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/web interface Related to the Mastodon web interface bug Something isn't working status/to triage This issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants