Spacing is either dealt with by Bootstrap to be responsive, or it is done through the 8px grid. Where possible, increments of 8 should always be used. If 8 doesn't fit well for a specific thing, an increment of 4 can be used.


Spacing between tabs
Left and right padding in search boxes are 12px because 8px was thought too small, and 16px was thought too big.