import { MEDIA_SINGLE_GUTTER_SIZE } from '../../media-single/constants';
export function calcColumnsFromPx(width, lineLength, gridSize) {
  const maxWidth = lineLength + MEDIA_SINGLE_GUTTER_SIZE;
  return (width + MEDIA_SINGLE_GUTTER_SIZE) * gridSize / maxWidth;
}