What margin do you mean ?. Do you mean the one that stops you from clicking the very top of a tab if the window is maximised ?, if so, go to 'O-Menu / Settings / Browser / User interface / Disable tab bar's top spacing when window is maximised' and place a tick in the box.