It’s not a bug, it was added by design
custom CSS is available, here is a help article: Tutorial of custom css - #18 by LavaC
here is a style for it anytype-ts/src/scss/block/layout.scss at 44129e37186ef350ebe5dbbb6ed4ecaed3b00fd4 · anyproto/anytype-ts · GitHub
.block.blockLayout.layoutRow { padding: 14px 0px; }
