Giter Site home page Giter Site logo

linear-partition-js's People

Contributors

aspirisen avatar e1himself avatar kamilmielnik avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

linear-partition-js's Issues

Calculating gallery layout generates empty rows

{
  "type": "gallery",
  "children": [
    {
      "text": ""
    }
  ],
  "images": [
    {
      "caption": "",
      "file": {
        "version": 2,
        "uuid": "612f759a-b2b4-44b4-83f0-0093aa6a9e3c",
        "filename": "saul-flores-fKzQsB11Tmo-unsplash.jpg",
        "mime_type": "image/jpeg",
        "size": 985185,
        "original_width": 3000,
        "original_height": 2000,
        "effects": []
      }
    },
    {
      "caption": "",
      "file": {
        "version": 2,
        "uuid": "13d92917-64b7-49fb-95c3-119ed70d1eed",
        "filename": "mak-xePGyhCmqHw-unsplash.jpg",
        "mime_type": "image/jpeg",
        "size": 348461,
        "original_width": 1333,
        "original_height": 2000,
        "effects": []
      }
    },
    {
      "caption": "",
      "file": {
        "version": 2,
        "uuid": "ddccb7f5-a802-4931-9705-3d8b23768772",
        "filename": "justin-shen-jeKN7eixmP0-unsplash.jpg",
        "mime_type": "image/jpeg",
        "size": 523920,
        "original_width": 1333,
        "original_height": 2000,
        "effects": []
      }
    },
    {
      "caption": "",
      "file": {
        "version": 2,
        "uuid": "be0335fc-f632-4407-a431-b732100466a9",
        "filename": "stephen-leonardi-fvm_VHTb68A-unsplash.jpg",
        "mime_type": "image/jpeg",
        "size": 790047,
        "original_width": 3000,
        "original_height": 2000,
        "effects": []
      }
    },
    {
      "caption": "",
      "file": {
        "version": 2,
        "uuid": "95ab86e3-88d9-4fcf-8b03-b7ca3ffeb64e",
        "filename": "yuliia-tretynychenko-N53Hh3SUz9k-unsplash.jpg",
        "mime_type": "image/jpeg",
        "size": 19718,
        "original_width": 320,
        "original_height": 320,
        "effects": []
      }
    },
    {
      "caption": "",
      "file": {
        "version": 2,
        "uuid": "aa4e354c-5286-4e5c-a3a6-6dac47ddb3fe",
        "filename": "annie-spratt-ZHNiPKzBAZQ-unsplash.jpg",
        "mime_type": "image/jpeg",
        "size": 499024,
        "original_width": 3000,
        "original_height": 2000,
        "effects": []
      }
    },
    {
      "caption": "",
      "file": {
        "version": 2,
        "uuid": "3aea1cc3-c7d1-421c-9592-a5a783acda38",
        "filename": "sam-pearce-warrilow-sxvbkBph_dE-unsplash.jpg",
        "mime_type": "image/jpeg",
        "size": 540430,
        "original_width": 1333,
        "original_height": 2000,
        "effects": []
      }
    }
  ],
  "uuid": "cd9e6e07-ee86-4de6-beac-9a8d87d58b46",
  "layout": "contained",
  "padding": "L",
  "thumbnail_size": "XL"
}
padding: 8
idealHeight: 1000 + 8 * 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.