I’ve found a solution: https://community.home-assistant.io/t/sections-customize-horizontal-gap-size/713106/11