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

Password: toggle mask icon is misplaced when using Tailwind.css #7456

Open
jonas-hallwachs-aimpera opened this issue Nov 28, 2024 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@jonas-hallwachs-aimpera
Copy link

jonas-hallwachs-aimpera commented Nov 28, 2024

Describe the bug

The eye icon to toggle the mask in the password component is misplaced when using tailwind.css (see stackblitz). The icon is not centered vertically as intended, but slightly too low.

image

When i comment out @tailwind base; in global.css the icon is placed correctly.

Reproducer

https://stackblitz.com/edit/stackblitz-starters-hoigxg

System Information

  System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 18.20.3 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/bin/pnpm
  npmPackages:
    primereact: ^10.8.4 => 10.8.4 
    react: 18.2.0 => 18.2.0 
    tailwindcss: 3.4.15 => 3.4.15 

Steps to reproduce the behavior

  1. use Tailwind in your PrimeReact application
  2. add a password component with toggleMask

Expected behavior

The item should be centered vertically.

@jonas-hallwachs-aimpera jonas-hallwachs-aimpera added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant