]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
feat: refactor mixin "xy-cell-offset()" and add corresponding function
authorNicolas Coden <nicolas@ncoden.fr>
Tue, 17 Jul 2018 21:41:34 +0000 (23:41 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Tue, 17 Jul 2018 21:43:55 +0000 (23:43 +0200)
commit54ec470bd5636e5dfefc326f03129cc20bff532f
tree0a2807a0b092867a959dc5cfbdfdb14d262691b8
parentc921caafc645a2e55a1cbb06a82c7e8d4edc29ed
feat: refactor mixin "xy-cell-offset()" and add corresponding function

Changes:
- Add function `xy-cell-offset()`: Returns the appropriate CSS value to offset a cell.
- Refactor mixin `xy-cell-offset()` to use its corresponding function.

**BREAKING CHANGE**: The `$breakpoint` argument in the `xy-cell-offset()` mixin does not support raw value anymore. Use `$gutters` instead.
scss/xy-grid/_classes.scss
scss/xy-grid/_position.scss