Problem

Issue #3002541: Buttons in hero section on landingpages moved the classes from a template's wrapping div onto the link using a preprocess hook. While doing this the button class was changed from btn-lg to btn-large. The former is the correct class for a large button (the large one worked in Bootstrap 2.x but does not work in Bootstrap 3.x and is not used in Open Social).

Solution

Change the class back to btn-lg what it should be.

This is a potential breaking change if users have come to rely on the btn-large class for styling this specific element but the button is currently incorrectly styled because it does not have the btn-lg class.

Comments

Kingdutch created an issue. See original summary.

kingdutch’s picture

Issue summary: View changes
Status: Active » Needs review
jaapjan’s picture

Status: Needs review » Fixed

Thank you. Merged!

  • 20e9b4f committed on 8.x-3.x
    Issue #3013128 by Kingdutch: Wrong button class causes incorrect sizing...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.