Moin
19.Март.2026 07:33:38
1
Немецкий перевод фразы «Click to upload or drag & drop file» немного длиннее английского текста, и в данный момент он шире, чем плейсхолдер изображения. Можно ли добавить перенос строки?
Скриншоты сделаны в разделах /admin/config/logo и /admin/config/about
2 лайка
Спасибо Будет исправлено в
main ← fix/upload-placeholder-text-overflow
merged 01:18PM - 19 Mar 26 UTC
The upload placeholder label ("Click to upload or drag & drop file") overflows i… ts container when translated into longer languages like German.
This happens because the label element has the `.btn` class which sets `white-space: nowrap` globally. Override it with `white-space: normal` for the empty upload state so the text wraps naturally within the placeholder box. Also add padding so wrapped text doesn't touch edges.
**BEFORE**
<img width="392" height="686" alt="2026-03-19 @ 09 26 36" src="https://github.com/user-attachments/assets/acd0bf8d-af79-4233-abe8-1ab34ecc4b47" />
**AFTER**
<img width="403" height="694" alt="2026-03-19 @ 09 26 23" src="https://github.com/user-attachments/assets/e14ea859-d532-4a22-a50b-50c21902507c" />
https://meta.discourse.org/t/398782
3 лайка
Moin
19.Март.2026 09:34:34
3
Ваши скриншоты меня напугали. На мгновение мне показалось, что в перевод незаметно просочилось формальное «Вы».
1 лайк
system
(system)
Закрыл(а) тему
04.Апрель.2026 06:19:39
4
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.