Skip to content

InputNumber: Italic style overlaps the padded input box #7674

Open
@cyril-adjilani

Description

Describe the bug

<InputNumber inputStyle={{ textAlign: 'right',fontStyle:'italic'}} className='h-8 w-60' value={0}/>

Image

Reproducer

No response

System Information

System:
    OS: Windows 11 10.0.22631
    CPU: (16) x64 12th Gen Intel(R) Core(TM) i5-12600KF
    Memory: 21.44 GB / 31.84 GB
  Binaries:
    Node: 22.8.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.22 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 10.8.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (128.0.2739.79)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    primereact: ^10.8.4 => 10.9.1 
    react: ^18.3.1 => 18.3.1 
    tailwindcss: ^3.4.15 => 3.4.15

Steps to reproduce the behavior

No response

Expected behavior

No response

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions