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

Scaling issues with the EntityPagerDutyCard and EntityPagerDutySmallCard components #151

Open
simonkosina opened this issue Nov 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@simonkosina
Copy link

Describe the bug
There seem to be some scaling issues with the EntityPagerDutyCard and EntityPagerDutySmallCard when the screen size drops below medium size. The "Status", "Insights" and "Standards" cards shrink and don't fill out the whole row that's available as they do on larger screen sizes.

To Reproduce
Steps to reproduce the behavior:

  1. Have the EntityPagerDutyCard or EntityPagerDutySmallCard integrated into the Backstage entity page as per official documentation.
  2. Resize the browser window to a smaller size until the scaling of the "Status", "Insights" and "Standards" titles and cards breaks, they shrink and stop filling out the whole space that's available.

Expected behavior
I think the above mentioned cards should fill out the whole available space as they do on larger screen sizes, see the screenshots below. This would make the scaling more consistent across different screen sizes and the card titles more readable.

  • EntityPagerDutyCard

image

  • EntityPagerDutySmallCard

image

Screenshots
When the browser window is sufficiently small the cards shrink and don't fill out the space appropriately. You can also see there's no spacing between the card titles.

  • EntityPagerDutyCard

image

  • EntityPagerDutySmallCard

image

Desktop (please complete the following information):

  • OS: Fedora Linux 40 (Workstation Edition)
  • Browsers:
    • Chrome - Version 129.0.6668.100 (Official Build) (64-bit)
    • Firefox - 131.0.2 (64-bit)

Additional context
Let me know if you need any more information! 🙂

Thanks,
Simon

@simonkosina simonkosina added the bug Something isn't working label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant