gitblit-org / gitblit

pure java git solution
http://gitblit.com
Apache License 2.0
2.27k stars 670 forks source link

In the repository url, the text "+RW" is overflowing (the solution ) #1437

Closed piradix closed 1 year ago

piradix commented 1 year ago

The text "+RW" is overflowing (to right) in field "URL" of a project (see image) Screenshot 2022-11-19 at 23-32-57 depot-test git - Gitblit

To avoid it :

flaix commented 1 year ago

Can you explain to me why this makes a difference? I don't understand how that attribute on the image on the left influences the right border. Also, it seems to help but not really solve the problem completely.

Screenshot 2022-11-20 at 17 18 15
piradix commented 1 year ago

before you have (look red square)

202913319-859c0a6d-bf85-4c37-8fd9-1a51842204a3

after (if css "max-width:inherit;" is apply on shield image ) (look red square): 202874312-08fdaa10-84a5-4ea6-9495-c73b193f1411

I have this problem on Firefox. It's because bootstrap sets the maximum width to "100%" (of the parent) and not to the size of the image!

flaix commented 1 year ago

😆 I really don't know how this works.

The thing is that in the picture I attached the image on the left already has that CSS attribute set. But still the text is not fully in. But I guess I understood enough from you, to guess this is because there is a second image in that line, which also needs to have the attribute set.

piradix commented 1 year ago

The thing is that in the picture I attached the image on the left already has that CSS attribute set. But still the text is not fully in. But I guess I understood enough from you, to guess this is because there is a second image in that line, which also needs to have the attribute set.

yes. there an second image :

<img style="max-width:inherit; vertical-align: middle;padding: 0px 0px 1px 3px;" src="../lock_go_16x16.png" title="push authentifié">