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

🐛 Bug Report: EntityTechInsightsScorecardCard broken style

Open LegendSebastiano-L opened this issue 1 year ago • 1 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?

  • [X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Are you willing to submit PR?

None

LegendSebastiano-L avatar Sep 24 '24 06:09 LegendSebastiano-L

@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 avatar Oct 08 '24 20:10 vinzscam

@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

LegendSebastiano-L avatar Oct 17 '24 12:10 LegendSebastiano-L

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.

github-actions[bot] avatar Dec 16 '24 18:12 github-actions[bot]

unstale, is still an issue

LegendSebastiano-L avatar Dec 17 '24 14:12 LegendSebastiano-L

Help with this issue very much welcome 👍

awanlin avatar Dec 17 '24 15:12 awanlin

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.

github-actions[bot] avatar Feb 16 '25 00:02 github-actions[bot]