gravitee-io / issues

Gravitee.io - API Platform - Issues
64 stars 26 forks source link

[portal] API Gallery: css issue for the API logo #2113

Closed Parkchanjun closed 4 years ago

Parkchanjun commented 5 years ago

1

2

<1> Photos of API introduction pop up to the side. <2> The introduction of API Documentation is dimly visible.
abatista75 commented 5 years ago

I faced the same issue and the workaround is to provide a squared picture.

brasseld commented 5 years ago

@adubreuiltk perhaps you can propose a PR to implement this squared picture ?

abatista75 commented 5 years ago

perhaps you can propose a PR to implement this squared picture ?

I'm not a CSS expert, but I fixed that issue by adding the following entry in my custom CSS file (ir in graviteeio-management-ui-1.25.0/themes/assets/gravitee.css):

.gravitee-media img {
    width: 100%;
}

I am not sure if it is the best fix, but it works (that's why I did not propose a PR).

I also tried to vertically align the picture (displayed in a 80x80 square), but I was unable to find a solution.