Change padding of cells in data grid 2

Hi all, I try to change the padding of a cell in a grid 2 from 16px to 2px. To that end, I am trying to update the scss file (custom-variables.scss) in the theme/web folder. I have set all grid/padding related variables to 2px. And the variable $spacing-medium also to 2px. Yet, it still renders with 16px. What do I miss to make it work?  
1 answers

Datagrid2 has the option to get set to ‘Compact’. Will this do: