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

Fix style table record actions on Grid layout #15016

Closed
wants to merge 1 commit into from

Conversation

A909M
Copy link
Contributor

@A909M A909M commented Dec 6, 2024

Description

This PR fixes an issue when arranging records into a grid. A problem occurs where "Record Actions" do not wrap automatically if there are too many actions because wrap='-sm' on filament-tables::actions enable sm:flex-nowrap . This causes the actions to overflow the container (div) and results in a broken layout, especially on larger screens.

Visual changes

before

1

After

after

Functional changes

  • Code style has been fixed by running the composer cs command.
  • Changes have been tested to not break existing functionality.
  • Documentation is up-to-date.

@danharrin
Copy link
Member

This was a deliberate decision within our design to not allow wrapping unless you are on mobile, to ensure that cards do not grow. I suggest that in this case, you should use an action group to ensure that there are not actions that are overflowing.

@danharrin danharrin closed this Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants