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

Content doesn't fit badge indicator #736

Closed
Vermorxt opened this issue Apr 21, 2022 · 1 comment
Closed

Content doesn't fit badge indicator #736

Vermorxt opened this issue Apr 21, 2022 · 1 comment
Labels

Comments

@Vermorxt
Copy link

The content of indicator for images doesn't fit the badge:

https://daisyui.com/components/indicator/#in-center-of-an-image

Bildschirmfoto 2022-04-21 um 16 29 48

Don't have time to make a PR, but a possible fix might be:

width: max-content; for .badge css class.

Nice work btw. I really like the framework. :o)

Cheers ...

@TheophileMot
Copy link

TheophileMot commented Sep 25, 2022

The issue is closed, but the example in question is still broken (see the "uploading images" example at https://daisyui.com/components/indicator/).

What about doing this?

.badge {
  /* height: 1.25rem; */
  height: fit-content;
  min-height: 1.25rem;
  ...
}

Edit: I see, the fix is already there, but it just isn't being applied on the Daisy site.

inorganik pushed a commit to inorganik/daisyui that referenced this issue Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants