Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utility class .equal-height breaks width settings when applied to modules. #902

Closed
N8Solutions opened this issue Oct 8, 2015 · 3 comments
Assignees
Labels
Milestone

Comments

@N8Solutions
Copy link

Create at least 2 different modules in Joomla with varying content. At least one of them should have only a few words per line or a very small image that is not very wide.

Create module instances, one for each module and pick the modules you just created in Joomla.

In order to see the issue you should add either box1 box2 box3 box4 to the module otherwise the problem won't be visible.

Now add the new Utility Variation equal-height to the modules. You will be able to see that the width of the module is reduced to meet the widest point created by the content.

equal height 01
equal height 02

@hennysmafter
Copy link

Alright a solution for this is to add the following css to your custom.scss file don't forget to clear cache if you just created the custom.scss file for the first time on the website:

.equal-height .g-content {
    display: block;
    width: 100%;
}

Please everyone feel free to test this code and if you know a better one or see problems let us know. Meanwhile @kevlardev could you check if it is possible to add this to the standard scss files from Gantry.

@mahagr mahagr added the bug label Oct 9, 2015
@mahagr mahagr added this to the 5.1.6 milestone Oct 9, 2015
@w00fz w00fz modified the milestones: 5.1.6, 5.1.7 Oct 14, 2015
@w00fz w00fz assigned w00fz and unassigned kevlardev Oct 19, 2015
@w00fz
Copy link
Member

w00fz commented Oct 19, 2015

Good catch, thanks.

@w00fz w00fz closed this as completed in b62c43a Oct 19, 2015
@N8Solutions
Copy link
Author

Great! Thank you Djamil!

@mahagr mahagr modified the milestones: 5.1.7, 5.2.0 Oct 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants