Making image background transparent in Dataview cards (in editing view) with Minimal theme

The - cssClasses: cards cards-1-1 table-max - in #Minimal theme makes the image background with dataview dark. Can anyone help to make it transparent in editing view. When I remove - cards cards-1-1 table-max - the dataview cards image background turn to transparent but the card view turns to list view. When I switch to reading view, it works. It shows the images in transparent background. Can anyone help with that?