Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Parkchanjun opened this issue Apr 1, 2019 · 3 comments
Closed

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

Parkchanjun opened this issue Apr 1, 2019 · 3 comments

Comments

@Parkchanjun
Copy link

@Parkchanjun Parkchanjun commented Apr 1, 2019

1

2

<1> Photos of API introduction pop up to the side.
<2> The introduction of API Documentation is dimly visible.

@adubreuiltk

This comment has been minimized.

Copy link

@adubreuiltk adubreuiltk commented May 11, 2019

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

@brasseld

This comment has been minimized.

Copy link
Member

@brasseld brasseld commented May 13, 2019

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

@brasseld brasseld changed the title CSS Issue [portal] API Gallery: css issue for the API logo May 13, 2019
@adubreuiltk

This comment has been minimized.

Copy link

@adubreuiltk adubreuiltk commented May 22, 2019

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.

@NicolasGeraud NicolasGeraud added this to the APIM - 1.25.x milestone May 24, 2019
NicolasGeraud added a commit to gravitee-io/gravitee-management-webui that referenced this issue Nov 19, 2019
@NicolasGeraud NicolasGeraud self-assigned this Nov 19, 2019
brasseld added a commit to gravitee-io/gravitee-management-webui that referenced this issue Nov 19, 2019
@brasseld brasseld closed this Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
API Management
Awaiting triage
4 participants
You can’t perform that action at this time.