When adding a new 1 column "Section", lets remove the requirement around having to select each breakpoints column options manually. We can handle this through the code.

Existing:

1 col - Existing

Preferred:

1 col - Preferred

Comments

AaronChristian created an issue. See original summary.

aaronchristian’s picture

Issue summary: View changes
aaronchristian’s picture

Issue summary: View changes
mahmoud-zayed’s picture

Status: Active » Needs work
Pooja Ganjage’s picture

StatusFileSize
new3.5 KB

Hi,

I am applying patch for solving the issue of Remove the need to select column options when only 1 is available.

Kindly review the patch once.

Thanks

presseyj’s picture

I would like to point out that there is a use case for a single column that is less that 12 wide. In the previous version I was able to do something like the following:

col-xs-12 col-sm-8 col-sm-offset-2

But this relates to another issue where the columns listed have to add up to 12 (Will put this in a separate ticket)

mahmoud-zayed’s picture

Hi presseyj,

You can add the class "col-sm-offset-2" to the column from the settings tab "The third tab".

Regards,
Mahmoud

Pooja Ganjage’s picture

Status: Needs work » Needs review
presseyj’s picture

But if I cannot set a column to less than col-12 for instance it just pushes it over.

mahmoud-zayed’s picture

Hi James,

I agree with you, we need to think for a better solution for offset.

Regards,
Mahmoud

Pooja Ganjage’s picture

mahmoud-zayed’s picture

Assigned: Unassigned » mahmoud-zayed

@TODO Needed to be ported to 2.x.

  • mahmoud-zayed committed 838a57e on 2.x
    Issue #3157780 by mahmoud-zayed, Pooja Ganjage, AaronChristian: Remove...
mahmoud-zayed’s picture

Assigned: mahmoud-zayed » Unassigned
Status: Needs review » Fixed
mahmoud-zayed’s picture

Status: Fixed » Closed (fixed)