To maintain a single-line menu without wrapping it in our block themes, please following:
- Go to your WordPress admin dashboard.
- Go to appearance > Editor.
- Go to Patterns > Header and open it.
- Select the Navigation block, and uncheck “Allow to wrap to multiple lines“.
- Click save.