"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.calcPxFromColumns = calcPxFromColumns;
var _constants = require("../../media-single/constants");
function calcPxFromColumns(columns, lineLength, gridSize) {
  var maxWidth = lineLength + _constants.MEDIA_SINGLE_GUTTER_SIZE;
  return maxWidth / gridSize * columns - _constants.MEDIA_SINGLE_GUTTER_SIZE;
}