I want to change the Assets sidepanel from card view into list view. My assets full name is not visible. How can we change this to list view?
Changing this into a "List View" is not supported or possible via OOTB APIs. The asset cards are displayed as Coral.Masonry
You could probably change it, but it would require quite a few lines of CSS and a Js update to change the
columnWidth
on the Coral.Masonry element. Which would be a temporary hack.
If your concern is showing the full asset name, you can do that with CSS:
categories="[cq.authoring.editor.hook]"
.sidepanel-tab-assets .editor-Card-asset coral-card-title {
white-space: initial !important;
}
The asset cards should now display the full name.