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

Scrollbar if no edit or delete action #20

Open
sekru1 opened this issue Dec 4, 2024 · 3 comments
Open

Scrollbar if no edit or delete action #20

sekru1 opened this issue Dec 4, 2024 · 3 comments

Comments

@sekru1
Copy link

sekru1 commented Dec 4, 2024

I have noticed that the action toolbar in the detail view gets a scrollbar if the edit and delete button is missing (e.g. due to missing rights).
This looks very ugly.
(It is not a question of the number of buttons.)
When I activate one of the standard actions, the scrollbar disappears .
Is it possible to fix this bug?

grafik

@samyouel
Copy link

samyouel commented Dec 6, 2024

Same thing here...
If I leave the label empty, it even disappears completely:

Actions\MyActionName::make()->icon('pencil', label: ''),
image

@damarinov1
Copy link

damarinov1 commented Dec 12, 2024

Yep, same problem here as well. I've made a temporary fix for now. I've overridden the class responsible in my admin styles.

.icon-action-toolbar-wrapper {
  overflow-x: visible !important;
}

OR you can downgrade to v0.1.2 , I see that this issue was introduced in v0.1.3

@scramatte
Copy link

+1

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

No branches or pull requests

4 participants