materialize icon indicating copy to clipboard operation
materialize copied to clipboard

The order of definitions of column offset selectors is wrong

Open ancientdemon opened this issue 11 years ago • 4 comments

There is an issue with v0.97.3 \bower_components\materialize\dist\css\materialize.css where the .row .col.offset-l1 {...} .row .col.offset-l2 {...} are defined intermingled with definitions of .row .col.l1 {} row .col.l2 {} etc such that some of the offset definitions come before l definitions in the css. In versions before v0.97.3 these offset definitions always came after column width (l) definitions, which is correct.

The current issue causes the row .col.offset- definitions to be not effective in situations like below example

<div class="row"> <div class="col s12 m8 l5 offset-m2 offset-l3">

Here is a an what happens shown in chrome dev tool window

image

Instead of margin-left: 25% being effective, the margin-left: 0 has taken precedence.

ancientdemon avatar Nov 21 '15 15:11 ancientdemon

please close, this is duplicate of https://github.com/Dogfalo/materialize/issues/2328 and already fixed with next release

uok avatar Nov 21 '15 16:11 uok

duplicate.

acburst avatar Nov 21 '15 17:11 acburst

Sorry about the duplicate folks. I am new to the github way of life. Will try to better in searching for existing issues before posting my next one. Keep up the good work. Thanks

ancientdemon avatar Nov 21 '15 20:11 ancientdemon

No problem! I appreciated the effort and detail in your issue

acburst avatar Nov 21 '15 22:11 acburst