Skip to content

Disabled items does not have display: flex #511

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

Closed
lukepolak opened this issue Feb 23, 2022 · 0 comments
Closed

Disabled items does not have display: flex #511

lukepolak opened this issue Feb 23, 2022 · 0 comments
Assignees
Labels

Comments

@lukepolak
Copy link

Hi,

In this line:

.menu :where(li:not(.disabled):not(.menu-title)) > :where(*:not(ul)) {

we set the content of a menu item to be displayed as flex, but no such line exists for items not disabled. It breaks items with icons (I just added disabled class to li tag):

image

I think it should work by adding:

.menu :where(li:not(.menu-title)) > :where(*:not(ul)) {
  @apply flex;
}

And removal of flex from line 14. And I'm not sure if .menu-title child shouldn't be flex too - could you elaborate and/or correct me? :)

@saadeghi saadeghi self-assigned this Feb 23, 2022
@saadeghi saadeghi added the menu label Feb 24, 2022
inorganik pushed a commit to inorganik/daisyui that referenced this issue Feb 7, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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

2 participants