materialize icon indicating copy to clipboard operation
materialize copied to clipboard

Offset is applied for all larger screens

Open TetianaP opened this issue 9 years ago • 4 comments

Description

Column offset is applied for specified screen and all larger ones.

Repro Steps

Create simple row with 2 columns:

<div class="row">
	<div class="col s12 m6 offset-m3 l8"></div>
	<div class="col s12 m6 offset-m3 l4"></div>
</div>

Expected

For large screen content is placed in 2 columns: l8 and l4. Offset-m3 is applied only for medium screen.

Result

For large screen content is placed in 1 column with left-column-offset: offset-m3. Is there some way to clear offset or specify something like: offset-l0?

TetianaP avatar Mar 26 '17 21:03 TetianaP

Noticed the same thing, but it was fine in 0.98.0

Y0lk avatar Apr 03 '17 01:04 Y0lk

Here's the PR that fixes it : https://github.com/Dogfalo/materialize/pull/4483

Y0lk avatar Apr 03 '17 01:04 Y0lk

Hmm, I tried to do some refactoring which caused this bug. Sorry about that. Merged in a PR that fixes this

acburst avatar Apr 04 '17 00:04 acburst

@Y0lk, @acburst, thank you!

TetianaP avatar Apr 05 '17 03:04 TetianaP