Add the sized inputs right margin only if they are next to another input.