I'm a web developer and father from The Netherlands. I mostly do Frontend Web development, but I'm also known to dabble in PHP, MySQL and AWS. I'm interested in learning Vue and NodeJS.
I'm also experiencing this and I found out that it's because of the py-2 class on the #collapseTarget element. Bootstrap 5 doesn't seem to handle that very well...
A better way to add the padding, is by adding a child element to the #collapseTarget element and giving that element the padding.
I'm also experiencing this and I found out that it's because of the
py-2
class on the#collapseTarget
element. Bootstrap 5 doesn't seem to handle that very well...A better way to add the padding, is by adding a child element to the
#collapseTarget
element and giving that element the padding.Cool, thanks for the tip!