Link block destroys styling

Hi, I created a collection list for portfolio projects. After styling everything I realised it is not linking to the project page (I forgot…). So, with on click I changed the div into a link block. Somehow that removed some of the dynamic styling. Anyway, I got that fixed, but now what I see in the editor doesn’t match what I see in the preview.
In the screenshots and linked page you can see that paddings are completely ignored and that the collection image is not showing. Anyone an idea what’s happening here and how I can fix this?

Live Page: https://felixs-consulting-website-2020.webflow.io/
Editor Link: Webflow - Felix Reiners – Digital Product Management

Hey, @Felix_Reiners I suggest adding flex layout to your “portfolio-div” and it will solve the problem.

Here the Loom for reference

if your request was solved feel free to check any response as solution to mark this request as solved :peace_symbol:

Thanks so much Sachin! That solves it!