How can I set a transparent background in a dashborad widget?

You'll need to target the widget body style too
the view isnt needed