123456789101112131415161718 |
- /* eslint-disable */
- var style = require('../wxs/style.wxs');
- var addUnit = require('../wxs/add-unit.wxs');
- function rootStyle(data) {
- if (!data.gutter) {
- return '';
- }
- return style({
- 'margin-right': addUnit(-data.gutter / 2),
- 'margin-left': addUnit(-data.gutter / 2),
- });
- }
- module.exports = {
- rootStyle: rootStyle,
- };
|