Toggle search
Search
Toggle menu
Views
Read
View source
View history
associated-pages
Template
Discussion
More actions
notifications
Toggle personal menu
Template
:
Masonry
Template page
Views
Read
View source
View history
associated-pages
Template
Discussion
More actions
Revision as of 19:30, 23 March 2024 by
Timothy
(
talk
|
contribs
)
(Created page with "<html> <head> <script> let grids = [...document.querySelectorAll('.masonry-group')]; if (grids.length && getComputedStyle(grids[0]).gridTemplateRows !== 'masonry') { grids = grids.map(grid => ({ _el: grid, gap: parseFloat(getComputedStyle(grid).gridRowGap), items: [...grid.childNodes].filter(c => c.nodeType === 1 && +getComputedStyle(c).gridColumnEnd !== -1), ncol: 0 })); function layout() { grids.forEach(grid => { /* get the post relayou...")
(diff) ← Older revision |
Latest revision
(
diff
) |
Newer revision →
(
diff
)