What is the best way to display multiple <p> elements inline using Bootstrap?
This is the code I have currently:
<div className="container d-inline-flex">
<p className="text-nowrap">
This is sentence number 1.
</p>
<p className="text-nowrap">
This is sentence number 2, which is a bit longer.
</p>
<p className="text-nowrap">
This is sentence number 3 and is the longest sentence by far.
</p>
</div>
Can you help me find a better solution?
Bonus: I want to override the default behavior of <p> where it ignores multiple blank spaces
For example, <p> "hello_____neighbor" should be displayed as "hello neighbor"