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

make the the empty association results (has_many, habtm) use a lot less height when NO records found #3435

Open
pjmuller opened this issue Nov 18, 2024 · 1 comment

Comments

@pjmuller
Copy link

Feature

Currently the partial showing no associated results takes up a lot of height causing the users to scroll
Image

can we make this a lot smaller (like 3x less?)

Current workarounds

likely via some CSS hacks and or overwriting the partial?

@Paul-Bob
Copy link
Contributor

Hi @pjmuller you can eject that component and implement your own empty state component by running: rails g avo:eject --component Avo::EmptyStateComponent

I'm making an issue on docs to make an entry about this :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants