In the screenshot below, you can see that at the end of my posts, there is a lot of space left over in the block. I am trying to find a way to cut off the remaining space and shift up the post that is below it.
I am currently using the 2022 Wordpress theme, and I edited it with the following css.
ul.wp-block-post-template {
display: flex;
flex-wrap: wrap;
}
li.wp-block-post {
background-color: #eee;
flex-basis: 200px;
margin: 10px;
padding: 0px 20px;
flex: 1;
}
If there is a WordPress plugin that could do this, that would be wonderful. Otherwise, I would love to have some CSS that could do this for me.
I tried finding a WordPress plugin, but I found mostly plugins that display the content in an even grid with a "read more" button, which isn't what I want. Unfortunately, what I am trying to do seems to be rather uncommon, making it hard to find any plugins or resources on how to do it.
