sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Ribbon icon from classic custom action renders incorrectly

Open wobba opened this issue 9 years ago • 4 comments

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.

image

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

image

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.

wobba avatar Jul 12 '17 08:07 wobba

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 avatar Jul 27 '17 17:07 patmill

@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.

wobba avatar Jul 27 '17 17:07 wobba

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!”

spdevdocs avatar Apr 29 '18 12:04 spdevdocs

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

msft-github-bot avatar Jan 29 '20 06:01 msft-github-bot