gitea icon indicating copy to clipboard operation
gitea copied to clipboard

Slice address in push mirror list

Open JakobDev opened this issue 3 years ago • 1 comments

I noticed that it is possible to break the push mirror list by entering a too long URL. This should fix it.

Before After
Before After

JakobDev avatar Sep 09 '22 07:09 JakobDev

IMO word-breaking could be better for such case.

If you truncate the address, you won't be able to read it / copy it fully.

With word-breaking, you get a multiple-line field on the UI and can see the full address.

wxiaoguang avatar Sep 14 '22 13:09 wxiaoguang

#21251 could be an example, it fixes the long texts in container table.

wxiaoguang avatar Sep 27 '22 10:09 wxiaoguang