backstage/community-plugins

๐Ÿ› Bug Report: EntityTechInsightsScorecardCard broken style

Opened this issue ยท 5 comments

๐Ÿ“œ Description

After updating Backstage from 1.29 to 1.31 I have this style in the EntityTechInsightsScorecardCard component
image

The p and the icon should live on the same line, the text should not go under the icon.

๐Ÿ‘ Expected behavior

The wrapper for the p and the icon should be flex and display the text and the icon properly, like before the update.

This is a screenshot of version 1.29
image

๐Ÿ‘Ž Actual Behavior with Screenshots

as you can see in the 1st screenshot, the text goes under the icon.

๐Ÿ‘Ÿ Reproduction steps

downgrade backstage from 1.31 to 1.29 and you will see the differences

๐Ÿ“ƒ Provide the context for the Bug.

No response

๐Ÿ–ฅ๏ธ Your Environment

No response

๐Ÿ‘€ Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

Are you willing to submit PR?

None

@LegendSebastianoL are you using a custom theme? If yes, could you check whether you are experiencing the same issue when using the default theme?

@vinzscam ๐Ÿ‘‹ yes, I'm using a custom theme.

import { UnifiedThemeProvider, themes } from '@backstage/theme';

const app = createApp({
  apis,
  themes: [
    {
      id: 'customTheme',
      title: 'Custom Theme',
      variant: 'dark',
      Provider: ({ children }) => (
        <UnifiedThemeProvider theme={themes.dark} children={children} />
      ),
    },
  ],

I just tried to use the default themes.dark and I got the same result.
image

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

unstale, is still an issue

Help with this issue very much welcome ๐Ÿ‘