Despite using margin
and padding
set to 0
, as well as adjusting the line-height
, Bootstrap 4 still leaves unnecessary space around text. This issue can make aligning elements with text quite challenging.
Take a look at the red line in the screenshot below, sourced from the official Bootstrap documentation: