fix height when card layout