Ribbon icon from classic custom action renders incorrectly
Category
- [x] Bug
Expected or Desired Behavior
Icon images should show correct in modern views.
Observed Behavior
On the drop-down list for more actions a "classic" custom action has CSS setting the width/height to 16x16 pixels, without re-sizing the image like it does if the icon is shown on the ribbon.

By adding background-size: cover to the CSS (as is used when rendering on the ribbon), the icon is rendered correctly.

Steps to Reproduce
Register a classic custom action with a 32x32 pixel icon on a list/library and see that it's not resized as expected in the more action drop-down.
Hey Mikael - sorry for the delay. Just to confirm, as I think I need to send this off to a different team - this doesn't have anything to do with the preview of modern extensions, this is just using the existing custom actions?
@patmill correct, it has to do with how modern lists/libs render classic custom actions. Also noticed that if the action is part of the drop-down (ellipses) menu, the icon is not aligned at all.
We closed this issue as it had not activity within last 180 days. This is a generic process we have decided to perform for issues, which have not been explicitly marked still to be "work in progress" based on tags. We are performing this cleaning to make sure that old issues that have already been solved (but not closed) or are no longer relevant are cleaned out and make the issues more manageable. If this issue still valid, we would ask you to open a new issue and follow the guidance in the issue template related on the recommended location. We do apologize any inconveniences this might cause. Please do remember that issues in the issue lists are also messages for others in the community, so you can also check if you can assist on any of them. “Sharing is caring!”
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues