Disappearing margins in portfolio

Has this problem been reported already? I can understand how the margin might need to change relative to the size of the window but complete removal of the margin looks ugly.

margin.2021-01-24 15_44_09