If I inspect the element in Chrome I find out that the culprit is a <div class="col-padding">
that wraps each Anvil component, and if I change the definition of .col-padding
from padding: 0px 15px;
to padding: 0px 5px;
the problem is solved.
The problem seems to be that roles affect the content of the div, not the div itself.