wix-style-react
Version:
19 lines (18 loc) • 415 B
JavaScript
;
module.exports.gap = function (args) {
var gap = args[0];
return {
'&': {
gap: gap
},
'@supports (not (translate: none)) and (not (appearance: auto))': {
'&': {
gap: 0,
margin: "calc(".concat(gap, " / -2) calc(").concat(gap, " / -2);")
},
'& > *': {
margin: "calc(".concat(gap, " / 2) calc(").concat(gap, " / 2);")
}
}
};
};