Problem/Motivation
This is spun off from #3039829-41: Remove link to media item from media library view..5 and also a subsequent comment (#44). To quote @seanB:
The media library widget (when adding a media field to a node for example) contains a delete button when you have selected media from the library. Since this is a form submit, it automatically gets the button class from core.
Because of this strong opinion from the core form system, we needed to make Media Library's CSS a little uglier. Ideally we would be able to opt out of using the button class, so that we could improve the CSS a bit.
Proposed resolution
TBD
Remaining tasks
TBD
User interface changes
None.
API changes
TBD, likely none.
Data model changes
None.
Release notes snippet
TBD.
Comments