• Hello,

    Since the latest update all my grids seem to be broken by this line of CSS:
    grid-template-rows: repeat(var(--grids-section-rows, 6), 1fr);

    Even if my grid is using 4 rows I get those weird spaces and there are always 6 fixed 1fr rows. Am I missing a place to update that setting on each instance of grid on my website?

    I resorted to unsetting that value in my custom CSS, but it’s a hack.

    Regards.

Viewing 8 replies - 1 through 8 (of 8 total)
  • +1 also seeing issue this after upgrading

    Plugin Contributor Andrea Gandino

    (@andg)

    Hi @fotoduda & @k3ob,

    we have reverted a change introduced in version 1.3.0; please update to version 1.3.1, in order to have the display of the grid restored back to its previous appearance.

    Thread Starter Micha? Dudziński

    (@fotoduda)

    @andg Thanks for a quick response!

    That worked on the front end, but the problem still persists in Gutenberg.

    Thread Starter Micha? Dudziński

    (@fotoduda)

    I updated to 1.3.3 and the problem is still present in Block Editor. The front is OK.

    Plugin Contributor Andrea Gandino

    (@andg)

    Hi @fotoduda,

    what browser are you using? Also, have you tried clearing the browser’s cache?

    Let me know!

    Thread Starter Micha? Dudziński

    (@fotoduda)

    Hi @andg,

    I’m using Chrome, cache is cleared and hard reloaded. I can see this CSS in the inspector in Block Editor:

    grids.css?ver=1.3.3

    @media screen and (min-width: 783px)
    .grids-areas-wrapper>.editor-inner-blocks>.editor-block-list__layout, .grids-areas-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout {
        display: grid;
        position: relative;
        grid-template-columns: var(--section-columns);
        grid-template-rows: var(--section-rows);
    }

    and that --section-rows variable has this value:

    repeat(6, 1fr);

    So you can see the rows have a fixed 1fr height, whereas on the front-end they have value auto so they adapt to the content and collapse when necessary.

    Regards,
    Michael

    Plugin Contributor Andrea Gandino

    (@andg)

    Ah, now we see!

    We’ll release an update to the plugin later today, and bring the value back to auto also in the Block Editor screen.

    Thanks for your feedback!

    Plugin Contributor Andrea Gandino

    (@andg)

    Hi @fotoduda,

    we’ve just released version 1.3.5, that should fix the issue.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘1.3.0 update and grid template rows’ is closed to new replies.