Changes to CSS to fix the last card bug