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

Aligning text on index view no longer works #3562

Open
4 of 11 tasks
jpawlyn opened this issue Dec 30, 2024 · 0 comments
Open
4 of 11 tasks

Aligning text on index view no longer works #3562

jpawlyn opened this issue Dec 30, 2024 · 0 comments
Labels
Bug Something isn't working

Comments

@jpawlyn
Copy link
Contributor

jpawlyn commented Dec 30, 2024

Describe the bug

Aligning text on an index view is no longer working and the default spacing and alignment for badges has changed.

Reproduction repository for the bug

Steps to use in the reproduction repository

Steps to reproduce the behavior:

  1. Add this configuration to a field html: {index: {wrapper: {classes: "text-right"}}})

Expected behavior & Actual behavior

Expected behaviour is for the field contents to be right aligned instead it being left aligned.

System configuration

Avo version: 3.15.6 / 3.15.7

Rails version: 8.0.0

Ruby version: 3.3.6

License type:

  • Community
  • Pro
  • Advanced

Are you using Avo monkey patches, overriding views or view components?

  • Yes. If so, please post code samples.
  • No

Screenshots or screen recordings

With Avo 3.15.5 the right and centre alignment is working. The column 'MONTANT' is right aligned and the 'COMMENTAIRES' is center aligned.
Image

But not with 3.15.6 and 3.15.7:
Image

Additional context

The cause is possibly the addition of an extra div in feature: copyable field option.

Impact

  • High impact (It makes my app un-usable.)
  • Medium impact (I'm annoyed, but I'll live.)
  • Low impact (It's really a tiny thing that I could live with.)

Urgency

  • High urgency (I can't continue development without it.)
  • Medium urgency (I found a workaround, but I'd love to have it fixed.)
  • Low urgency (It can wait. I just wanted you to know about it.)
@Paul-Bob Paul-Bob moved this to Next up in Issues Dec 31, 2024
@Paul-Bob Paul-Bob added the Bug Something isn't working label Dec 31, 2024
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
Status: Next up
Development

No branches or pull requests

2 participants