XWIKI-10348

Gallery macro width should resize in gadget mode
Merge pull request #275 from oanat/patch-1

XWIKI-10348