Use a masonry layout for the library layout

This commit is contained in:
Jackson Harper
2022-08-19 14:53:01 +08:00
parent fec6a03945
commit 1aa0780e29
6 changed files with 44 additions and 32 deletions

View File

@ -295,4 +295,22 @@ input[type=range]::-webkit-slider-thumb {
button {
padding: 0px;
margin: 0px;
}
.omnivore-masonry-grid {
display: -webkit-box; /* Not needed if autoprefixing */
display: -ms-flexbox; /* Not needed if autoprefixing */
display: flex;
margin-left: -16px; /* gutter size offset */
margin-right: 14px;
width: auto;
}
.omnivore-masonry-grid_column {
padding-left: 16px; /* gutter size */
background-clip: padding-box;
}
.omnivore-masonry-grid_column > div {
/* background: grey; */
margin-bottom: 16px;
}