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

Icon display issue when adding custom css #280

Open
2 of 8 tasks
rachid822 opened this issue Nov 23, 2023 · 1 comment
Open
2 of 8 tasks

Icon display issue when adding custom css #280

rachid822 opened this issue Nov 23, 2023 · 1 comment

Comments

@rachid822
Copy link

Describe the bug

I have icone cds-icon shape="circle-arrow" status="success" class="nav-icon-favorit" solid direction="down">
css class nav-icon-favorit:
.nav-icon-favorit:hover{
cursor: pointer;
transform: scale(1.5);
color:#FFE433;
}

When the icon is hovered, the direction become "up" and not remain "down".

A clear and concise description of what the bug is, and the conditions when it occurs.
This happen when adding css transform: scale(1.5);

How to reproduce

Please provide a link to a reproduction scenario using one of the Clarity Stackblitz templates. Reports without a clear reproduction may not be prioritized until one is provided.

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

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

Versions

Clarity project:

  • Clarity Core
  • Clarity Angular/UI

Clarity version:

  • v5.x
  • v15.x

Framework:

  • Angular
  • React
  • Vue
  • Other:

Framework version:
_ie: Angular 15

Device:

  • Type: [e.g. MacBook]
  • OS: [windows]
  • Browser [edge]
  • Version [latest]

Additional notes

Add any other notes about the problem here.

@kevinbuhmann
Copy link
Member

You are overriding the transform rule.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants