Hello,
Actually those attributes designed in this way to display with a line break so they shown more prominent. So in theme settings there is no such option to display them without line break.
You can use the below CSS code in global custom CSS area under theme settings >> custom CSS:
.woocommerce-cart-form__contents td.product-name p{
display:inline;
}
.cart-info .variation li span p{
display:inline;
}
.woocommerce-checkout-review-order-table td.product-name p{
display:inline;
}
I have test this CSS code at my test site and it works just fine you can check the result in below screenshots.
Result of Sidebar Cart: https://jmp.sh/EB388f9
Result of Cart Page: https://jmp.sh/UlfFC24
Result of Checkout Page: https://jmp.sh/ElZ0GVT
Best Regards.