fix: .project-list layout bugs
continuous-integration/drone/push Build is passing Details

main
parent a8a327e5a4
commit 75d2bb00ca

@ -186,14 +186,14 @@
// width: calc(20rem * 3 + 1.5rem * 2 + 6rem * 2); // width: calc(20rem * 3 + 1.5rem * 2 + 6rem * 2);
// max-width: calc(100vw - 2rem); // HACK: capire come si propagano le width per bene // max-width: calc(100vw - 2rem); // HACK: capire come si propagano le width per bene
max-width: calc(20rem * 3 + 1.5rem * 2 + 6rem * 2); max-width: calc(20rem * 3 + 1.5rem * 2 + 1rem * 2);
display: grid; display: grid;
grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
grid-auto-flow: dense; grid-auto-flow: dense;
gap: 1.5rem; gap: 1.5rem;
padding: 0 6rem; padding: 0 1rem;
& > * { & > * {
grid-row: span var(--masonry-height); grid-row: span var(--masonry-height);

Loading…
Cancel
Save