Skip to content

Tag name length distorts responsive design on mobile #896

@Eiernase

Description

@Eiernase

Description

Long tag names on mobile cause the start button and tag icon to be squished and the time to be misaligned.
On Chrome, the word wrap doesn't work for phrases/with/slashes and causes overflow.
Additionally, the justification of the start and end times is a fixed distance to the "billable" button, which in turn has a fixed distance from the tag name, but has a max-right value (this causes the overflow mentioned earlier). So, depending on the length of the tag name, both are misaligned.

Sometimes the start button is misaligned as well, but I don't know why this happens yet.

Squish in Firefox:

Image

Squish and Overflow Chrome:

Image

Billing and Time Misalignment:

Image

Start Button Misalignment:

Image

Steps To Reproduce

  1. Use solidtime on mobile
  2. Add tags with different name lengths and spaces to entries
  3. Profit
    ...

Self-hosted or Cloud?

None

Version of solidtime: (for self-hosted)

0.9.0

solidtime self-hosting guide: (for self-hosted)

docker compose with database

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions