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

Change height of x-logo in yaml #2556

Open
SrikrishnaCodeNebula opened this issue Jul 3, 2024 · 5 comments
Open

Change height of x-logo in yaml #2556

SrikrishnaCodeNebula opened this issue Jul 3, 2024 · 5 comments

Comments

@SrikrishnaCodeNebula
Copy link

I have added url of x-logo in yaml file. But want to change height and width of the x-logo and I have tried introducing maxHeight and minHeight properties but it is not working.

@lornajane
Copy link
Contributor

Hi @SrikrishnaCodeNebula you can find the documentation for the x-logo feature here: https://redocly.com/docs/redoc/redoc-vendor-extensions#x-logo

The page includes information about the supported options.

@SrikrishnaCodeNebula
Copy link
Author

Hi @lornajane But it does not have any options for height and width as well. It has options to add url, backgroundcolor, href etc. Can you please let me know how to add height and width to x-logo?

@lornajane
Copy link
Contributor

We don't have configurable options for resizing the image in the docs page, could you try resizing it before you use it as the logo?

@SrikrishnaCodeNebula
Copy link
Author

@lornajane you mean to reduce the width and height of the image beforehand and then using it in x-logo url?

@SoraSabat
Copy link

@SrikrishnaCodeNebula Yes that's what she meant. Use something like Photoshop or illustrator to change dimensions of the image and then use it in the url.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants