I have been using the accordion effect in my moodle course (version 3.3.2, boost theme) and then moved my course to a newest version (3.5.1). The effect works fine, however, the margins between the items and their content don't look so nice. I think that you can see what I mean in the following images.
Could you please help me fix the margins? Thanks for your time.