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 <> Text are not besides each-other #32

Open
kennethsierkstra opened this issue Nov 6, 2024 · 1 comment
Open

Icon <> Text are not besides each-other #32

kennethsierkstra opened this issue Nov 6, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@kennethsierkstra
Copy link

Describe the bug
The icon, to copy given column, is either above (IconPosition::Before) or below (IconPosition::After) the column field.

To Reproduce

CopyableTextColumn::make('username')
    ->searchable()
    ->copyMessage('Username copied to clipboard')
    ->label(__('table_fields.username'))
    ->wrap()
    ->weight(FontWeight::Bold)
    ->iconPosition(IconPosition::Before)
    ->sortable()
    ->toggleable(),

Expected behavior
Icon and text being next to each-other, instead of above/below.

Screenshots
image

Additional context
Version used: 3.0.1

@kennethsierkstra kennethsierkstra added the bug Something isn't working label Nov 6, 2024
@kennethsierkstra
Copy link
Author

⚠️: This is ONLY when you allow clickable rows. If you disable it, the issue no longer persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant