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

[Main Nav] Random issue on Icons colors #20602

Open
MarionLemaire opened this issue Jun 21, 2024 · 1 comment
Open

[Main Nav] Random issue on Icons colors #20602

MarionLemaire opened this issue Jun 21, 2024 · 1 comment
Labels
issue: bug Issue reporting a bug severity: low If the issue only affects a very niche base of users and an easily implemented workaround can solve source: core:admin Source is core/admin package status: confirmed Confirmed by a Strapi Team member or multiple community members version: 5

Comments

@MarionLemaire
Copy link
Contributor

Bug report

Required System information

Node.js version: 20.9.0
Strapi version: 5.0.0-beta.13
Operating system: Windows WSL and OS

Describe the bug

When clicking on Settings > Review Workflows, or Settings > U&P > Roles, the color of Main Nav icons suddenly turn black.

Steps to reproduce the behavior

  1. Check Main Nav icons : they are all OK
  2. Click on icons : everything is OK
  3. Click on Settings Side bar options : everything is OK until you click on Review Workflows OR Roles
  4. Click again on one of these items : icon colors turn back to normal

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

Screencast.from.21-06-2024.15_33_55.webm
@WalkingPizza
Copy link
Contributor

WalkingPizza commented Jun 24, 2024

Seems related to the following blocks, possibly because the ampersand isn't being resolved correctly and the :focus and :hover styles are applied to all SVGs when hovering or focusing anything.

&:hover,
&:focus {
svg {
path {
fill: ${({ theme }) => theme.colors.neutral800};
}
}
}

&:hover,
&:focus {
svg > path {
fill: ${({ theme }) => theme.colors.neutral800};
}
}

@derrickmehaffy derrickmehaffy added issue: bug Issue reporting a bug severity: low If the issue only affects a very niche base of users and an easily implemented workaround can solve status: confirmed Confirmed by a Strapi Team member or multiple community members source: core:admin Source is core/admin package labels Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Issue reporting a bug severity: low If the issue only affects a very niche base of users and an easily implemented workaround can solve source: core:admin Source is core/admin package status: confirmed Confirmed by a Strapi Team member or multiple community members version: 5
Projects
Status: Backlog
Development

No branches or pull requests

3 participants