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: kbd wrong theme color inside alert #3228

Closed
tmac12 opened this issue Oct 9, 2024 · 1 comment
Closed

bug: kbd wrong theme color inside alert #3228

tmac12 opened this issue Oct 9, 2024 · 1 comment
Assignees

Comments

@tmac12
Copy link

tmac12 commented Oct 9, 2024

What version of daisyUI are you using?

4.12.12

Which browsers are you seeing the problem on?

Chrome

Reproduction URL

https://tmac12.github.io/angular-daisyui-themeCharger/

Describe your issue

Problem

When using the kbd inside a div with the class alert, the behavior and appearance of the kbd component are inconsistent with how a button behaves in the same context.

This is the code:

<div role="alert" class="alert shadow-lg alert-error">
  <button class="btn btn-sm">Hello</button>
  <kbd class="kbd">123</kbd>
</div>

Expected Behavior

The kbd component should behave consistently in terms of styling and alignment with other components like button when placed inside a div with the alert class.

Copy link

github-actions bot commented Oct 9, 2024

Thank you @tmac12 for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.

@saadeghi saadeghi self-assigned this Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants