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

bug(Badge): position and size on page is off #29847

Open
1 task
BackwardsMan opened this issue Oct 9, 2024 · 0 comments
Open
1 task

bug(Badge): position and size on page is off #29847

BackwardsMan opened this issue Oct 9, 2024 · 0 comments
Labels
needs triage This issue needs to be triaged by the team

Comments

@BackwardsMan
Copy link

BackwardsMan commented Oct 9, 2024

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

The position of the Badge on the Angular Material webpage is off and the wrong size for some badges.
Don't know if this is a bug in the component itself or strictly how it is displayed on the webpage
See image:

Image

Reproduction

Link: https://material.angular.io/components/badge/overview

Steps to reproduce:

  1. Go to webpage
  2. Look at examples for the Badge

Expected Behavior

  1. Expect a small badge to be smaller than default
  2. Expect a large badge to be larger than default
  3. Expect no badges to overlap text
  4. Expect no badges to overlap icons
  5. Expect badge with icon to show number 15

Actual Behavior

  1. Small badge is not smaller than default badge
  2. Large badge is nog bigger than default badge
  3. Large badge overlaps with text
  4. Icon with a badge overlaps the icon
  5. Icon with a badge shows "1 and ellipsis"

Environment

  • Browser(s): Chrome Version 129.0.6668.90 (Official Build) (arm64)
  • Operating System: macOS
@BackwardsMan BackwardsMan added the needs triage This issue needs to be triaged by the team label Oct 9, 2024
@BackwardsMan BackwardsMan changed the title bug(COMPONENT): TITLE bug(Badge): position and size on page is off Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage This issue needs to be triaged by the team
Projects
None yet
Development

No branches or pull requests

1 participant