Menu icon Foundation
small-offset used also in medium and large

I defined an element with the classes

.large-5.medium-12.small-8.small-offset-2.columns

Now the offset is still used on medium and large screens. Why is that? Is that a (known) bug?
Using foundation-rails (5.1.1.0).

Alex

offset

I defined an element with the classes

.large-5.medium-12.small-8.small-offset-2.columns

Now the offset is still used on medium and large screens. Why is that? Is that a (known) bug?
Using foundation-rails (5.1.1.0).

Alex


Wing-Hou Chan gave the most helpful answer for this post
Wing-Hou Chan over 5 years ago

Hey Alex!

It is because the styles from the small grid are inherited by the medium and large grids. This is normal.

You want to have .large-offset-0 to reset the offset on the large grid.

This post has been closed. No new replies can be added.

Wing-Hou Chan over 5 years ago

Hey Alex!

It is because the styles from the small grid are inherited by the medium and large grids. This is normal.

You want to have .large-offset-0 to reset the offset on the large grid.