config: panel: made margin optional