Skip to content

Instantly share code, notes, and snippets.

@PavelGonzales
Created May 3, 2018 07:30
Show Gist options
  • Save PavelGonzales/15606e0f28975db47c19f88e8d8bf5d0 to your computer and use it in GitHub Desktop.
Save PavelGonzales/15606e0f28975db47c19f88e8d8bf5d0 to your computer and use it in GitHub Desktop.
let aspect = 0; // сумма наших соотношений сторон у изображений
const horizontalPadding = 5; // отступ у изображений по горизонтали
const maxHeight = 500; // максимальная высота изображения, нужно если у нас одно изображение
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment