Skip to content

Doesn't fit on mobile in French #1605

@Kekun

Description

@Kekun

Describe the bug

Tuba doesn't fit on mobile in French, I've noticed several issues.

Steps To Reproduce

ProfileStatsButton doesn't fit, the labels wrap and can't be made shorter, e.g. see my profile: https://mamot.fr/@KekunPlazas. I tried .ttl-profile-stat-button { font-size: smaller; } which helps, but isn't great, I'm not sure I have recommandations here, besides maybe looking at how libadwaita handles the viewswitcher badges as they are smaller but still pretty readable, or maybe finding some good symbolic icons.

WidgetActionRow with lots of replies, shares and favs can be too wide, see https://tech.lgbt/@Natasha_Jay/115609488234245874 in a profile for a reproducer. Tusky handles this by not showing the number of shares and favs next to the icon but on a tiny textual status line above, and only on the focused message. I'm not sure I like their solution but it comes with an advantage: it would help with the share and fav buttons moving around and not being aligned with each others when their numbers change, only the number of replies would cause that. Alternatively it could be but above or below, maybe even as a tiny badge.

Beyond that, while it's not an issue, I'd argue that on mobile status_box should have its horizontal margins and spacing reduced just a tiny bit, e.g. the start and end margins could be set to 14px, as right now the content is extremely cramped.

Logs and/or Screenshots

Image Image

Instance Backend

Mastodon

Operating System

Silverblue 43

Package

Flatpak

Troubleshooting information

LANGUAGE=fr /app/bin/dev.geopjr.Tuba

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions