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