Skip to content

Instantly share code, notes, and snippets.

@crbdev
Created January 12, 2024 04:31
Show Gist options
  • Save crbdev/f8900ce7a5e06ea4294c7e54c4739480 to your computer and use it in GitHub Desktop.
Save crbdev/f8900ce7a5e06ea4294c7e54c4739480 to your computer and use it in GitHub Desktop.
Custom CSS to turn the DIY layout into a grid (as seen on the GravityKit blog)
.gv-diy-multiple-container.gv-container {
display:flex;
flex-wrap: wrap;
justify-content:center;
margin-top:20px;
}
.gv-container img { width:100% !important; }
.gv-diy-multiple-container.gv-container .gv-diy-view {
margin-right: 20px;
width: 360px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment