For my Bootstrap accordion menu, I used a trick where the chevron turns upside down when clicked on the toggle. You can check out the trick here.
In the example, the chevron is pulled to the right.
When I implemented this on my website locally, the chevron behaved as expected - pulled to the right.
However, in the production environment and on platforms like CodePen, the chevron is aligned to the left just like in the example.
Here is the CodePen link for reference: https://codepen.io/snarex/pen/gEWwVz
What could be causing this difference in behavior? The expected result is to have the chevron pulled all the way to the right.
/* CSS code snippet */
/* HTML code snippet */