XWIKI-10817: Layout issues with the Flamingo skin on Statistics

(cherry picked from commit 13a97562cd34df287d6ee4d9279a75fe82c19fcd)