In my case, this was caused by the edge of the accordion headers and the border of the elements inside my accordion content. You will need to set the margins of these elements to 0. If you want to add a space between these elements, you can use the indentation, and this will not cause problems.
#accordion h3 { margin: 0; padding: 10px 0; } #accordion p { margin: 0; padding: 10px 0; }
I used paragraph tags inside divs of accordion content. If you are using something else, make sure the field for this item is set to 0.
source share