Skip to content

The grid need to use percent and compute the nearest number for the columns #8

@lenybernard

Description

@lenybernard

For example, if we set this:

{{ almanach_grid([
        almanach_gridItem('Div Grid Item 1', {
            classGridItem: {
                sm: 75,
                lg: 50
            }
        }),
        almanach_gridItem('Div Grid Item 2', {
            classGridItem: {
                sm: 25,
                lg: 50
            }
        })
    ])
}}

should render in bootstrap:

<div class="row">
    <div class="col-sm-8 col-lg-6"></div>
    <div class="col-sm-4 col-lg-6"></div>
</div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions