Skip to content

[bug]: cn util in table componenet doesnt override the padding. #8197

@yosef-sa

Description

@yosef-sa

Describe the bug

Hello, as the title explicitly explains, I am attaching screenshots to show to you the issues. The CN FN is not working when I pass p-0, as it is supposed to override the p-4 in the component.

Affected component/components

TableCell

How to reproduce

  1. Import the table cell component.
  2. pass to it p-0 !important or p-0 regular.
  3. You will notice that it doesn't override the default p-4 within it but just a small decrease.
Image

thats still with p-4 default
Image

when i change it within the table cell like this

Image

then it is changing properly

Image

Codesandbox/StackBlitz link

No response

Logs

System Info

using Chrome Version 137.0.7151.68 (Official Build) (64-bit), on Ubuntu Linux.

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions