snehilvj / dmc-docs

Documentation for Dash Mantine Components library.
https://github.com/snehilvj/dash-mantine-components
MIT License
53 stars 17 forks source link

Grid `align=stretch` example not stretched #28

Closed nlyle01 closed 1 year ago

nlyle01 commented 1 year ago

I haven't dug into the docs code to see if there's a quick fix, but for now just wanted to raise the issue. Comparison below between Mantine and Dash Mantine below:

Mantine

flex-start and stretch

image

Dash Mantine

flex-start and stretch

image

https://github.com/snehilvj/dmc-docs/blob/main/docs/grid/justify.py#L26

demo = dmc.Grid(
    children=[
        dmc.Col(html.Div("1", style=style), span=3),
        dmc.Col(html.Div("2", style={**style, "minHeight": 80}), span=3),
        dmc.Col(html.Div("3", style={**style, "minHeight": 120}), span=3),
    ],
    gutter="md",
)
snehilvj commented 1 year ago

Thanks for reporting, it has been fixed.