webbingbrasil / filament-copyactions

A easy-to-use copy actions for Filament Admin Pages, Tables and Form Fields.
56 stars 15 forks source link

`CopyableTextColumn` component shown a smaller text #15

Closed zhanang19 closed 1 year ago

zhanang19 commented 1 year ago

Describe the bug Just switched from TextColumn to use CopyableTextColumn component, but the styling was changed.

To Reproduce Steps to reproduce the behavior:

  1. Use TextColumn and CopyableTextColumn component with a same text
  2. See that text on TextColumn shown bigger and doesn't has any padding. But, text on CopyableTextColumn component shown smaller and has a padding.

Expected behavior I think it should not change the default text styling, isn't?

Screenshots

image

Additional context Actually I don't know is this a bug or an expected behavior. I'm just trying to use CopyableTextColumn component, but looks like it has a different styling. I know, this can be solved easily by publishing the views, but I just want a confirmation is it a bug or not. If you think this was a bug, I'm happy to create a PR for a fix.

dmandrade commented 1 year ago

Its a bug. I believe there may have been some extra text-sm in the component.

zhanang19 commented 1 year ago

Okay, I will create a PR to fix that.

dmandrade commented 1 year ago

Thanks.

Published in v1.1.1