Not enough space in the Start Timer button for certain translations #7343

Closed
opened 2025-11-02 07:23:29 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @emansije on GitHub (May 16, 2021).

  • Gitea version (or commit ref): 1.14.2 (although other versions might be affected as well)
  • Git version: 2.27.0
  • Operating system: Kubuntu 20.10
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
  • Log gist:

Description

The "Start Timer" button of the Time Tracker in the editing issue page doesn't have enough space for the European Portuguese translation for the word "Timer" ("cronómetro"), but I've noticed that other languages have the same issue, like German, Spanish and Turkish.

The left and right padding of the button text is 1.5em. Perhaps making it 1.2em would solve the issue.

Screenshots

As it is now:

Screenshot_20210516_134806

After making the left and right padding 1.2em:

Screenshot_20210516_135015

Originally created by @emansije on GitHub (May 16, 2021). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Make sure it's not mentioned in the FAQ (https://docs.gitea.io/en-us/faq) 5. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.14.2 (although other versions might be affected as well) - Git version: 2.27.0 - Operating system: Kubuntu 20.10 <!-- Please include information on whether you built gitea yourself, used one of our downloads or are using some other package --> <!-- Please also tell us how you are running gitea, e.g. if it is being run from docker, a command-line, systemd etc. ---> <!-- If you are using a package or systemd tell us what distribution you are using --> - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x] Yes (https://try.gitea.io/emansije/teste/issues/3 when language is set to European Portuguese (*Português de Portugal*)) - [ ] No - Log gist: <!-- It really is important to provide pertinent logs --> <!-- Please read https://docs.gitea.io/en-us/logging-configuration/#debugging-problems --> <!-- In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of app.ini --> ## Description <!-- If using a proxy or a CDN (e.g. CloudFlare) in front of gitea, please disable the proxy/CDN fully and connect to gitea directly to confirm the issue still persists without those services. --> The "Start Timer" button of the Time Tracker in the editing issue page doesn't have enough space for the European Portuguese translation for the word "Timer" (*"cronómetro"*), but I've noticed that other languages have the same issue, like German, Spanish and Turkish. The left and right padding of the button text is 1.5em. Perhaps making it 1.2em would solve the issue. ## Screenshots As it is now: <!-- **If this issue involves the Web Interface, please include a screenshot** --> ![Screenshot_20210516_134806](https://user-images.githubusercontent.com/602233/118398202-7e25a500-b64f-11eb-9299-1655aa3b9265.png) After making the left and right padding 1.2em: ![Screenshot_20210516_135015](https://user-images.githubusercontent.com/602233/118398203-7ebe3b80-b64f-11eb-8aa5-cc206b268c58.png)
GiteaMirror added the topic/ui label 2025-11-02 07:23:29 -06:00
Author
Owner

@silverwind commented on GitHub (May 16, 2021):

There is just not enough space for two side-by-side buttons, let's make it 2 rows:

image
@silverwind commented on GitHub (May 16, 2021): There is just not enough space for two side-by-side buttons, let's make it 2 rows: <img width="222" alt="image" src="https://user-images.githubusercontent.com/115237/118400154-b84b7280-b660-11eb-840f-c8d1ef5a5e86.png">
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#7343