Changing the padding parameter for draggables in "drag and drop onto image"

Hello! I am working with h5p interactions ("drag onto image") in moodle system. Students should construct schematic diagrams of devices from separate pieces of the whole image as puzzles. But around dragged images, by default, there is a zone that changes the size of the dragged images - "padding: 0.3em". In html-code view mode, if I change the value for ".h5p-draquestion .h5p-draggable {padding: 0.3em}" to "padding: 0 em", the picture becomes better. But only for the current session. On subsequent sessions again "padding: 0.3 em".
How to change the padding zones for dragged drawings? Where in the h5p module in the moodle system should this parameter be changed to reduce the "padding" value to zero for all sessions? Help, please! Sorry for the possibly bad English!

Attachments: 
BV52's picture

Hi adilex,

The easiest way is to use a PHP hook, to add your own CSS-file to the content type. Please visit the Visual Changes page for more details.

-BV