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

Larger size column offsets can't be zero when a smaller size offset is greater than zero #12

Open
Shrinks99 opened this issue Jan 24, 2020 · 0 comments

Comments

@Shrinks99
Copy link

Shrinks99 commented Jan 24, 2020

Columns with small-offset-x and large-offset-0 or medium-offset-0 don't seem to work. The zeroed out offsets (if set to greater than zero it functions as expected) just inherit the value of the small-offset-x for the larger breakpoints. This seems to be because of the way the margin-left value is calculated as a percentage.

Adding this as an override for those two classes specifically seems to fix the issue: Never mind this seems to override the small offset at the small size. :(

.large-offset-0, .medium-offset-0 {
	margin-left: 0 !important;
}
@Shrinks99 Shrinks99 changed the title Column offsets can't be zero when small-offset is greater than zero Other column offsets can't be zero when small-offset is greater than zero Jan 24, 2020
@Shrinks99 Shrinks99 changed the title Other column offsets can't be zero when small-offset is greater than zero Larger size column offsets can't be zero when a smaller size offset is greater than zero Apr 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant