dcasia / icon-action-toolbar

Replaces the default boring action menu with an inline row of icon-based actions.
MIT License
20 stars 6 forks source link

Icon in detail view should have h-9 class #10

Closed webard closed 6 months ago

webard commented 6 months ago

Hello,

I was trying to make PR but has some problems with npm run production.

Something changed in Nova latest versions and now icons looks like this (look at the background of icon): Original icon:

image

Icon from package:

image

Everything goes back to normal, when I add h-9 class to <button> element:

image image

I can see this code: https://github.com/dcasia/icon-action-toolbar/blob/def3ffb90612ad6bfacc983c7d57ea79d8234e72/resources/js/components/IconActionToolbar.vue#L14-L20

and probably you just need to delete !isDetailView condition in line 16.

Thank you for this amazing package.