A common pitfall is forgetting to add left padding (e.g.,
pl-5
) to lists. Without it, the list markers (bullets or numbers) can sit flush against the left edge of their container, looking cramped or even overlapping with other elements or container borders.
pl-5
Below, the list uses
list-disc
but lacks
pl-5
. Notice how the bullets are at the very edge of the bordered container.
pl-5
This list correctly uses
list-disc
and
pl-5
. The bullets are nicely indented.
pl-5
pl-5