In certain cases, LSP sideline (linting) msg causes the actual code block to get prepended with an empty line.
e.g.
initial state:

broken state (cursor moved one line to the bottom):

System Info
- OS: gnu/linux
- Emacs: 28.0.50
- Spacemacs: 0.300.0
- Spacemacs branch: develop (rev. ce7c2f05d)
- Graphic display: t
- Distribution: spacemacs
- Editing style: vim
- Completion: helm