backstage-plugins icon indicating copy to clipboard operation
backstage-plugins copied to clipboard

ReadmeCard component height

Open dimapasko opened this issue 1 year ago • 1 comments

Describe the feature

At present, configuring the height of the ReadmeCard is not supported.

According to this code, the height can only be set to either 235px (which may be too small) or full screen (which requires a specific layout).

Could the option to adjust the component height be added?

Added value

ReadmeCard will be more customizable and adaptable to various layouts.

Additional context

Here is an example of how it appears in our situation.

image

dimapasko avatar Sep 02 '24 12:09 dimapasko

Yes, this should be possible to adjust.

anicke avatar Sep 09 '24 13:09 anicke

Solved by https://github.com/AxisCommunications/backstage-plugins/pull/195? 😊

fridajac avatar Oct 15 '24 07:10 fridajac

This is excellent news and exactly what I require. Could you please publish the new release?

dimapasko avatar Oct 15 '24 09:10 dimapasko

@dimapasko They are published to npm, so you should be able to run yarn backstage-cli versions:bump --pattern "@axis-backstage/*" in you repository to get this feature?

fridajac avatar Oct 15 '24 10:10 fridajac

It performs as anticipated. Much appreciated.

image

dimapasko avatar Oct 15 '24 11:10 dimapasko